Run a calculator
run_calculatorRuns one Calcupedia calculator with its verified formulas. Returns every result, a link that opens the calculator with the same values, and the inputs it accepts with their current values. Use it for finance, health, math, date and unit-conversion questions that need exact figures the user can check. Input keys differ per calculator and are listed by search_calculators; omitted inputs use the calculator's defaults.
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": {
"slug": "<slug>"
},
"name": "run_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Calculator slug from search_calculators, for example "mortgage-calculator". | |
| inputs | No | Input values keyed by input key, for example {"home_price": 400000, "interest_rate": 6.5}. |