Run an engineering calculator
run_calculatorRuns one operation of an amperis.com calculator with the same formulas as its web page and returns the result as JSON. Call list_calculators with the calculator id first to see the operation names, their parameters and the input fields. "input" is either a list of the positional parameters, or, for operations that take one object (parameter "e"), that object with the fields named in list_calculators.
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": "<calculator>",
"operation": "<operation>",
"input": "<input>"
},
"name": "run_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the catalogue content. Default: es. | |
| input | Yes | Positional arguments (array) or the input object. | |
| operation | Yes | ||
| calculator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| result | No | ||
| operation | Yes | ||
| calculator | Yes |