Debug evaluate
debug_evaluateEvaluate an expression inside a live debuggee to inspect runtime state and troubleshoot issues during a debugging session, with human approval and audit trail for protected access.
Instructions
Low-level DAP escape hatch: evaluate an expression inside the debuggee. This is approval-gated and expression-level audited.
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": {
"deployment_id": "<deployment_id>",
"expression": "<expression>"
},
"name": "debug_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_id | No | ||
| expression | Yes | ||
| deployment_id | Yes | ||
| approval_token | No | ||
| approval_wait_seconds | No |