Calculate
calculateCalculates a result with the Sumish calculation engine, the same one the website uses. Returns the results, the calculation steps, the date of the rates, sources, disclaimers, the page address and a ready-to-use citation. Inputs you leave out use the default of the tool and are listed in defaults_used. Inputs are not stored. A tool of kind lookup answers as its page does: a headline, tables, notes, links and the text, with the parameter sets it used.
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": {
"id": "<id>",
"inputs": "<inputs>"
},
"name": "calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Calculator id; inputs are described by describe_calculator. | |
| inputs | Yes | Values by input id: numbers, option ids, or dates as YYYY-MM-DD. Numbers with a unit are in the base unit. | |
| edition | No | Edition: the Netherlands in Dutch (nl-nl) or in English (en-nl). Default nl-nl. |