Get page exceptions
console_get_exceptionsRetrieve browser console exceptions from a Chrome tab session, returning raw unsanitized error details. Use to diagnose JavaScript runtime errors during automation.
Instructions
Enable Runtime, consume Raw exception events, and return bounded unsanitized exception details.
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": {
"sessionId": "<sessionId>"
},
"name": "console_get_exceptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| sessionId | Yes | ||
| timeoutMs | No | ||
| targetSessionId | No |