pub(crate) const BROWSER_FOCUS_ELEMENT_TOOL: &str = r#"{
"name": "BrowserFocusElement",
"description": "Call .focus() on the first element matching a CSS selector in your OWN pane (browser pane or otherwise, same scoping as UIClick). Does not synthesize a mouse event — use UIClick for full click semantics. Pass pane (from OpenBrowser) to act on a browser pane you opened; without it this acts on your own pane.",
"inputSchema": {
"type": "object",
"properties": {
"pane": { "type": "string", "description": "Optional: the pane id OpenBrowser returned, to act on a browser pane you opened instead of your own pane. Only panes you opened are accepted." },
"selector": { "type": "string", "description": "CSS selector for the element to focus, scoped to your own pane" }
},
"required": ["selector"]
}
}"#;