console_logs
Retrieve browser console logs, warnings, errors, and uncaught exceptions to verify JavaScript after code changes. Filter by type or clear after reading.
Instructions
Get browser console output: logs, warnings, errors, uncaught exceptions. Use this to check for JS errors after making changes.
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 |
|---|---|---|---|
| url | No | Page URL. Opens page to start collecting if not open yet. | |
| type | No | Filter by type. Default: all. | |
| clear | No | Clear log after reading. Default: false. |