console_logs
Capture console messages, uncaught errors and browser log entries for a tab; first run starts capture, then reload or repeat the action and run again to read new entries.
Instructions
Console messages, uncaught errors and browser log entries (failed loads, CSP, deprecations) for a tab. The first call starts capture; reload or repeat the action, then call again to see new messages.
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": "console_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading. | |
| level | No | Minimum level. | |
| limit | No | Most recent N (default 100). | |
| tabId | No | Tab ID from tabs_list. Omit for the active tab. | |
| profile | No | Chrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile. |