evaluate_math_or_quant_expression
Evaluate math and quantitative expressions exactly with a deterministic SymPy/NumPy coprocessor, avoiding manual arithmetic and supporting configurable significant-digit precision.
Instructions
Evaluate a math or quant expression exactly with a deterministic SymPy/NumPy coprocessor; use it instead of doing arithmetic in your head.
Cost: $0.002 USDC per call.
Freshness: computed on demand (deterministic, no staleness).
Inputs: expression - for example '(1 + 0.05/12)**120' or 'integrate(x**2, x)'; precision (int, default 12, range 1-100) - significant digits.
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_math_or_quant_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| precision | No | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||