evaluate_expression
Evaluate a 1C expression in a paused debug target to inspect values or execute side-effecting operations during debugging.
Instructions
Evaluate a 1C expression in a stopped target. Expressions may have side effects.
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": {
"targetId": "<targetId>",
"expression": "<expression>"
},
"name": "evaluate_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | Yes | ||
| expression | Yes | ||
| stackLevel | No |