| tool_schema | {"name":"browser","description":"Control a real browser with cookies, logins, and sessions.\n\nCRITICAL RULES:\n1. ALWAYS call analyze BEFORE click or type. Element IDs only exist after analysis. Never guess IDs.\n2. Element IDs reset on EVERY analyze call. Never reuse IDs from a previous analysis.\n3. After navigate or any click that changes the page, the skill auto-analyzes — read the new IDs.\n4. If you get \"Element not found\", the page changed. The skill will hint you to re-analyze.\n5. To submit a search/form after typing, use press_key with key=\"Enter\".\n6. When done, give a brief summary and stop.\n\nWorkflow: navigate → read element IDs → click/type → read updated page → continue.\n","parameters":{"type":"object","properties":{"action":{"type":"string","description":"Which operation to perform","enum":["navigate","analyze","read","click","type","press_key","scroll","screenshot","wait","list_tabs","open_tab","switch_tab","close_tab"]},"url":{"type":"string","description":"URL — for navigate, open_tab","default":""},"element_id":{"type":"integer","description":"Element ID from analyze results (e.g. 5 from '[#5 button Submit]') — for click, type"},"text":{"type":"string","description":"Text to type — for type action","default":""},"key":{"type":"string","description":"Key to press — for press_key (Enter, Tab, Escape, Backspace, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, or any character)","default":""},"direction":{"type":"string","description":"Scroll direction — for scroll","enum":["up","down"],"default":"down"},"amount":{"type":"integer","description":"Pixels to scroll (default 500) — for scroll","default":500},"selector":{"type":"string","description":"CSS selector to wait for — for wait action","default":""},"timeout":{"type":"integer","description":"Max seconds to wait (default 10) — for wait","default":10},"tab_id":{"type":"integer","description":"Tab ID — for switch_tab, close_tab (from list_tabs results)"},"browser_id":{"type":"string","description":"Browser ID (optional — overrides default)","default":""}},"required":["action"]}} |