browser_console
Read console messages, uncaught errors, browser warnings, and auto-handled dialogs for a page; filter by level/search and clear or limit results to debug web apps.
Instructions
Read console messages, uncaught errors, browser warnings (CSP, mixed content, failed loads) and auto-handled dialogs for the current page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| level | No | Minimum level. | |
| limit | No | Default 100 (most recent). | |
| tabId | No | Tab to act on. Defaults to the tab last opened/selected by an agent, else the active tab. | |
| search | No | ||
| currentPageOnly | No | Only messages since the last navigation (default: recent history across pages, separated by NAV lines). |