Expand description
Browser automation tools
This module provides browser automation capabilities through the agent-browser CLI.
§Architecture
config- Configuration types for browser settingsexecutor- Abstraction layer for executing browser commandstypes- Data types for browser operationsclient- High-level API for browser operationstool- LLM agent tool implementation
§Usage
§As an LLM Tool
ⓘ
use limit_cli::tools::browser::BrowserTool;
use limit_agent::Tool;
let tool = BrowserTool::new();
let result = tool.execute(serde_json::json!({
"action": "open",
"url": "https://example.com"
})).await;§As a TUI Command
ⓘ
/browser open https://example.com
/browser snapshot
/browser click "button.submit"
/browser closeRe-exports§
pub use action::BrowserAction;pub use args::ArgsExt;pub use client::BrowserClient;pub use config::BrowserConfig;pub use config::BrowserEngine;pub use executor::BrowserError;pub use executor::BrowserExecutor;pub use executor::BrowserOutput;pub use executor::CliExecutor;pub use response::ok;pub use response::ok_msg;pub use response::Response;pub use tool::BrowserTool;pub use types::BoundingBox;pub use types::Cookie;pub use types::Request;pub use types::SnapshotResult;pub use types::TabInfo;
Modules§
- action
- Browser action enumeration for type-safe action dispatch
- args
- Argument extraction extension trait for JSON values
- client
- Browser client - shared API for browser automation
- client_
ext - Extension traits for BrowserClient
- config
- Browser configuration types
- executor
- Browser executor abstraction
- handlers
- Handler modules for browser tool
- response
- JSON response builder for browser tool
- tool
- Browser tool for LLM agent
- types
- Data types for browser operations