Get Console Errors
chrome_get_errorsCollect JavaScript console errors and warnings from a page to debug web UI issues, with optional warning capture and JSON or markdown output.
Instructions
Get JavaScript console errors and warnings from the page.
Collects error messages, warnings, and uncaught exceptions.
Args:
includeWarnings (boolean): Include console.warn messages (default: false)
response_format ('markdown'|'json'): Output format (default: markdown)
Returns: List of console errors with timestamps and locations.
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": "chrome_get_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeWarnings | No | Include console warnings (default: false) | |
| response_format | No | Output format: markdown or json | markdown |