gdb_backtrace
Retrieve the current call stack from a debugging session to analyze program execution flow.
Instructions
Get the current call stack (backtrace).
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>"
},
"name": "gdb_backtrace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session identifier. | |
| max_frames | No | Maximum number of frames to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |