console_logs
Read browser console logs and filter them by level or regex pattern, with an option to clear the buffer after reading.
Instructions
Read collected browser console logs; filter by level (info/warning/error/debug) and/or regex; optionally clear the buffer after reading.
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 | Filter by log level | |
| pattern | No | Regex matched against log text |