read_console
Retrieve console messages and uncaught page errors, oldest first, with optional level filtering, result limits, and clearing after reading to debug live browser sessions.
Instructions
Console messages and uncaught errors the page logged, oldest first, up to limit (max 200).
Only what the current page logged while zenpilot was connected: the list empties when the tab
navigates, and zenpilot disconnects after 2 minutes without tool calls, so messages from before
that are gone. Messages from iframes aren't included. Long messages are cut, and the oldest go
first if the output is too long. level shows one level only. clear empties the tab's list after reading it.
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": "read_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| level | No | ||
| limit | No | ||
| tab_id | No |