get_console_log_stacktrace
Retrieve the stack trace for a specific browser console log entry by its ID, enabling debugging of where console messages originate in Chrome sessions.
Instructions
Get the stack trace for a specific browser console log entry by its ID. Only available for entries that include CDP stack trace data (Chrome).
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": {
"session_id": "<session_id>",
"log_id": "<log_id>"
},
"name": "get_console_log_stacktrace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | Log entry ID returned by get_console_logs. | |
| session_id | Yes | Session ID returned by start_browser. |