getConsoleLogs
Retrieve browser console messages to debug JavaScript errors and track behavior. Filter by type like warnings or errors, with optional clearing after read.
Instructions
Get browser console messages. For debugging JS errors and tracking behavior.
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": "getConsoleLogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear after read (default: false) | |
| types | No | Filter types (default: all) |