get_scopes
Retrieve variable scopes for a specific stack frame during a debugging session to inspect local and closure variables.
Instructions
Get scopes for a 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": {
"sessionId": "<sessionId>",
"frameId": "<frameId>"
},
"name": "get_scopes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frameId | Yes | The ID of the stack frame from a stackTrace response | |
| sessionId | Yes |