get_backtrace
Retrieve a stack backtrace showing program counter, function name, and source file/line for each frame, with an option to limit the maximum number of frames.
Instructions
Stack backtrace: pc, function name, source file/line per frame.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_backtrace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_frames | No | ||
| session_id | No |