BrowserTools
Toolkit that gives an agent a headless Chromium browser via Playwright. The agent gets tools for navigation, clicking, filling forms, downloading files, screenshotting, and extracting page content; optional flags add network, console, and WebSocket capture tools.
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| url | Restrict navigation to one URL or a list of allowed URLs. None allows any URL. Defaults to None. | Optional | None |
| listen_network | If True, capture all HTTP requests made by the page and expose get_network_requests to the agent. Defaults to False. | bool | False |
| listen_console | If True, capture browser console messages and expose get_console_logs to the agent. Defaults to False. | bool | False |
| debug_mode | If True, print verbose debug output for every browser action (navigation, clicks, fills, etc.). Useful for local development. Defaults to False. | bool | False |
| allow_close_page | If True, expose a close_page tool to the agent. Defaults to True. | bool | True |
| headless | Run Chromium in headless mode. Set to False to see the browser window during local development. Defaults to True. | bool | True |
| client_certificate | Optional mTLS client certificate to present on requests, as a dict with keys origin, pfx_base64, and passphrase. Defaults to None. | Optional | None |