evaluate_expression
Evaluate a Python expression in the top stack frame to inspect current variables and test debug-time logic.
Instructions
Evaluate an expression in the top stack frame.
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_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Python expression evaluated in the top frame of the active stack. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||