get_diagnostics
Retrieve recorded console messages, runtime errors, and unhandled promise rejections with stack traces to diagnose UI issues. Filter by log level or time range for targeted debugging.
Instructions
Query recorded console messages, runtime errors, and unhandled promise rejections with stack traces.
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": "get_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Log level filter | |
| sessionId | Yes | Session ID | |
| toTimestamp | No | End timestamp | |
| fromTimestamp | No | Start timestamp |