get_scope_variables
Inspect variables in a paused JavaScript call frame. Provide a frame index and scope type to retrieve current values.
Instructions
Inspect variable values in a call frame scope. Only works when execution is paused. Use get_debugger_state first to find available frame indices.
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_scope_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopeType | No | Scope type to inspect | local |
| frameIndex | No | Call frame index (0 = top frame) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | Yes |