get_stack_trace
Retrieve the current call stack for a debug session to inspect execution context and navigate through stack frames.
Instructions
Get the current call stack
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_stack_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | Optional thread ID | |
| sessionId | Yes | Debug session ID |