Debug scopes
debug_scopesFetch all variable scopes for a given stack frame using its frame ID. This low-level DAP escape hatch gives you direct access to inspect runtime state and debug issues during a session.
Instructions
Low-level DAP escape hatch: read scopes for one 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": {
"deployment_id": "<deployment_id>",
"frame_id": "<frame_id>"
},
"name": "debug_scopes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_id | Yes | ||
| deployment_id | Yes |