Skip to main content

BROWSER_CHECK_TOOL

Constant BROWSER_CHECK_TOOL 

Source
pub(crate) const BROWSER_CHECK_TOOL: &str = r#"{
  "name": "BrowserCheck",
  "description": "Set a checkbox, radio button or switch by its ref from the latest BrowserSnapshot: clicks it only if its state differs, and reports the state afterwards.",
  "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\"" }, "checked": { "type": "boolean", "description": "true to check, false to uncheck" } }, "required": ["ref", "checked"] }
}"#;