debugger.evaluate_on_frame
Evaluates an expression in a paused call frame so you can inspect local variables and debug runtime state.
Instructions
Evaluate an expression in the scope of a paused call frame: this is how you read local variables.
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": {
"expression": "<expression>"
},
"name": "debugger.evaluate_on_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| expression | Yes | ||
| frame_index | No | ||
| call_frame_id | No |