Skip to main content

BROWSER_CLICK_TOOL

Constant BROWSER_CLICK_TOOL 

Source
pub(crate) const BROWSER_CLICK_TOOL: &str = r#"{
  "name": "BrowserClick",
  "description": "Click an element by its ref from the latest BrowserSnapshot: scrolls it into view and sends a real mouse click at its centre. Returns the element's state afterwards. A click that submits a form or is named like Submit/Send/Pay/Delete/Confirm waits for the user to Approve it in the pane (up to 10 minutes); if they cancel, don't retry: ask them.",
  "inputSchema": { "type": "object", "properties": { "pane": { "type": "string", "description": "The pane id OpenBrowser returned (omit to act on your own pane, if it is a browser pane)" }, "ref": { "type": "string", "description": "An element reference from the latest BrowserSnapshot, e.g. \"e12\"" } }, "required": ["ref"] }
}"#;