get_call_stack
Capture the call stack backtrace of the current thread, showing return addresses, module names, and function names to analyze program execution during debugging.
Instructions
Get the call stack (backtrace) of the current thread. Shows return addresses, module names, and function names where available.
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_call_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| maxFrames | No | Maximum stack frames to return (default 50) |