debugger_stack
Reads a bounded page of stack frames from a suspended debug session and thread, using a stop token to target the expected generation.
Instructions
Read a stack page from the expected suspended generation.
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>",
"thread": "<thread>",
"stop": "<stop>"
},
"name": "debugger_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| stop | Yes | ||
| thread | Yes | ||
| timeout | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| frames | Yes | ||
| snapshot | Yes | ||
| next_start | No |