debug_stack
Return stack frames for the current stopped thread.
Instructions
Return stack frames for the current stopped thread.
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": "debug_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levels | No | ||
| threadId | No | ||
| sessionId | Yes |