get_scope_variables
Retrieve variables from a selected call frame scope during Chrome DevTools debugging; specify call frame and scope indexes to inspect local or parent scope values.
Instructions
Get variables in a scope of a call frame.
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 |
|---|---|---|---|
| scopeIndex | No | Scope index in the scope chain. Default: 0 (local scope) | |
| callFrameIndex | No | Call frame index (0 = top). Default: 0 |