read_console_messages
Read console logs, warnings, errors, and uncaught exceptions from a browser tab to debug page issues, with filters for patterns, error-only output, limits, and buffer clearing.
Instructions
Read console output (log/info/warn/error/debug and uncaught errors) captured from the tab.
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_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading. | |
| limit | No | ||
| tabId | No | Tab to act on. Defaults to the active tab of the focused Zen window. | |
| pattern | No | Substring filter. | |
| onlyErrors | No |