debugger_scopes
Lists variable scopes for a retained stack frame, helping you inspect local and block-level variables during a suspended debugging session.
Instructions
List the variable scopes belonging to a retained stack frame.
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>",
"frame": "<frame>"
},
"name": "debugger_scopes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | ||
| timeout | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| snapshot | Yes | ||
| truncated | No |