browser_console
Capture console output, uncaught exceptions, and browser logs from the current page, including navigation errors, then optionally clear the buffer after reading.
Instructions
Console output, uncaught exceptions and browser log entries from this page — always recording, so nobody has to remember to start it. Includes what happened during navigation, which is where the real errors are. clear: true empties the buffer after reading.
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 buffer after reading | |
| level | No | Only this level | |
| limit | No | Newest N entries (default 100) | |
| since | No | Only entries at or after this epoch-ms timestamp |