get_scopes
Retrieve variable scopes for a specific stack frame in a stopped .NET debug session, providing a variables_reference for subsequent variable inspection. Requires a valid frame ID from the call stack.
Instructions
Get variable scopes for a stack frame.
State: STOPPED required. Call get_call_stack() first to get frame_id. Returns variables_reference for get_variables().
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
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": "get_scopes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_id | No |