| tool_schema | {"name":"browser","description":"Execute actions in a real Chrome browser. You MUST call this tool to perform the requested task.\nDo NOT explain what you would do — actually do it by calling this tool with the right action.\n\nYou can navigate to any URL, click any element, type into any field, and interact with any website.\nThe user is already logged in everywhere — their cookies and sessions are active.\n\nRULES:\n1. ALWAYS call analyze BEFORE click or type — element IDs only exist after analysis.\n2. Element IDs reset on EVERY analyze — never reuse old IDs.\n3. navigate and click auto-analyze — read the new IDs from the result.\n4. \"Element not found\" means the page changed — call analyze for fresh IDs.\n5. To submit a form after typing, use press_key with key=\"Enter\".\n6. Scroll down if you can't find what you need — content may be below the fold.\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)"}},"required":["action"]}} |