debug_scopes
Retrieve debugger scopes and variablesReference handles for a stack frame so coding agents can inspect local variables during a paused debugging session.
Instructions
Return debugger scopes for a stack frame, including variablesReference handles.
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>",
"frameId": "<frameId>"
},
"name": "debug_scopes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frameId | Yes | ||
| sessionId | Yes |