Calculator
v0.1.9Exact arithmetic: one calculator tool over an AST allowlist, with integers exact at any size.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
calculate
Evaluate an arithmetic expression and return the result. Args: expression: The expression to evaluate, for example "2 + 3 * (4 - 1)", "sqrt(16) + sin(pi/2)" or "123456789 * 987654321". `^` is accepted as a power operator; `×` and `·` as multiply, `÷` as divide, and `−` (U+2212) as minus.
| Parameter | Type | Description |
|---|---|---|
expression * | string |