evaluate_on_callframe
Run JavaScript expressions within a paused callframe to inspect or modify state during debugging.
Instructions
Evaluate a JavaScript expression in the context of the current paused callframe. Throws if not paused.
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": "evaluate_on_callframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |