verify_math
Checks arithmetic expressions and equality claims in a bounded AST sandbox, confirming exact results before generated code runs.
Instructions
Verify arithmetic expressions or equality claims in a bounded AST sandbox.
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": "verify_math"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Arithmetic expression or equality claim. |