{ "messages": [ { "role": "system", "content": "You are a helpful AI assistant with access to tools. Use tools when they help answer the user's question. Be concise and accurate." }, { "role": "user", "content": "What browser automation tools do you have?" }, { "role": "assistant", "content": "\nBrowse tools — the headed browser automation surface. 19 tools for full browser control.\n\n\nThe `browse_*` tools provide full headed browser automation via Playwright. Launch a visible browser window and interact with web pages programmatically. 19 tools:\n\n**Lifecycle:** `browse_launch` (start browser, optional stealth mode), `browse_close` (end session)\n\n**Navigation:** `browse_goto` (navigate to URL), `browse_back`, `browse_forward`, `browse_reload`\n\n**Interaction:** `browse_click` (CSS selector), `browse_hover`, `browse_r_type` (type into input), `browse_keys` (keyboard events like Enter, Escape), `browse_scroll` (scroll to position or element)\n\n**Inspection:** `browse_query` (query elements by CSS selector — returns tag, text, attributes), `browse_html` (full page HTML), `browse_url` (current URL and title), `browse_screenshot` (capture viewport or full page)\n\n**State:** `browse_cookies` (get/set/delete), `browse_storage` (localStorage/sessionStorage), `browse_console_msgs` (captured console output), `browse_errors` (uncaught exceptions), `browse_network` (captured requests — filter by type: xhr, fetch, failed, etc.), `browse_metrics` (performance and DOM stats)\n\n**Device:** `browse_emulate` (mobile device emulation — iPhone, Pixel, iPad), `browse_viewport` (resize), `browse_eval_js` (execute arbitrary JavaScript)\n\nAlways call `browse_launch` before any other browse tool. Use stealth mode when sites have bot detection." } ] }