Run a calculator
run_calculatorRun one calculator (ids from list_calculators) with explicit inputs and return the answer with worked steps. Field types: number (JSON number, or a string such as '2,5' or '-3'), fraction ({"n":3,"d":4} or '3/4'), list (array of numbers or '4; 7; 9'), text (a formula string such as 'x^3 - 2x'). Calculators with units accept inputs.unit (e.g. 'cm').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Mode id of that calculator (see list_calculators). Defaults to the first mode. | |
| inputs | Yes | Field id → value. | |
| language | No | Language of the steps: nl (Dutch, default) or en (English). | nl |
| calculator | Yes | Calculator id. |