console_get_logs
Retrieve and filter browser console logs and errors to diagnose web app issues by type, timestamp, or keyword.
Instructions
Collect console logs and errors from the browser for debugging analysis
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contextId": "<contextId>"
},
"name": "console_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of logs to return | |
| since | No | Only return logs after this timestamp (milliseconds) | |
| types | No | Filter by log types | |
| contains | No | Filter logs containing this text (case insensitive) | |
| contextId | Yes | Browser context ID from browser_launch |