console_get_logs
Retrieve recorded browser console logs for a tab. Filter entries by log type, text search, or limit to inspect errors, warnings, and debug messages.
Instructions
Get recorded console logs for a tab.
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": {
"targetId": "<targetId>"
},
"name": "console_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by log type: log, debug, info, error, warning, etc. | |
| limit | No | Maximum number of entries to return | |
| search | No | Filter by text content | |
| targetId | Yes | Target ID of the tab |