Console and errors
browser_consoleRetrieve console messages and page errors from the active browser tab, including uncaught exceptions, failed resources, and console output. Filter by error, warn, info, log, or debug levels.
Instructions
Console messages and page errors: uncaught exceptions with stacks, unhandled rejections, failed resources, and console output from when an agent started driving the tab. Filter by levels (error, warn, info, log, debug). Browser-internal messages (CSP, CORS) are not visible without the debugger.
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 | Empty the log after reading. | |
| limit | No | ||
| tabId | No | ||
| levels | No |