Run a calculator
calculateRun one calculator by id with numeric inputs: every key from list_calculators, exactly as listed, in the listed units (an unknown or missing key is an error naming it; nothing takes a default). Returns every result with its unit, the formula, the Given → Formula → Substitute → Result working when the engine can derive it, and the URL of the solved page.
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": {
"calculator_id": "<calculator_id>",
"inputs": "<inputs>"
},
"name": "calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | Every input key from list_calculators (e.g. {"m": 2, "v": 3}), in the listed units; an unknown or missing key is an error | |
| calculator_id | Yes | The calculator id (slug) from list_calculators, e.g. kinetic-energy |