stack_explore
Retrieve a full stack trace with local variables at each frame and a visual ASCII caller-callee tree. Provides a comprehensive debugging overview in a single request.
Instructions
In one call: full stack + locals at every frame + a pre-rendered ASCII tree showing caller → callee with arrows. Use this instead of stacktrace_get + variables_get per frame when you want to see the whole picture at once.
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": "stack_explore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | Thread id. Defaults to the last-stopped thread. | |
| maxFrames | No | Maximum frames to include. Default 10. | |
| maxLocalsPerFrame | No | Maximum locals per frame. Default 10. |