Run a logistics calculator
run_calculatorRun one of Weeple's logistics calculators and get the results with units, plus notes and breakdown tables. Pass the calculator slug and an inputs object keyed by input id (see get_calculator); anything omitted uses the calculator's default. Example: {"slug":"cft-calculator","inputs":{"dimUnit":"in","length":24,"width":18,"height":18,"qty":10}}.
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, e.g. "volumetric-weight-calculator". | |
| inputs | No | Input values keyed by input id. Numbers as numbers, choices as their option value, units as unit codes (cm, in, kg, lb, m3, ft3, km, mi…). | |
| currency | No | Currency used to format money results. | INR |