inspect_console
Capture and filter browser console output to diagnose JavaScript errors, warnings, uncaught exceptions, and messages during web inspection.
Instructions
Capture and inspect browser console output: JavaScript errors, warnings, uncaught exceptions, and console 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": "inspect_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear console history after reading (default: false) | |
| level | No | Filter logs by level: "all", "error", "warn", or "info" (default: "all") |