Calculate many shipments
calculate_shipmentsCalculates several shipments at once, each like calculate_shipment. A failing shipment doesn't stop the others; each failure says why and whether sending it again can help. Set explain to add calculation sheets (first 25 shipments).
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": {
"shipments": "<shipments>"
},
"name": "calculate_shipments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| explain | No | Add the step-by-step calculation sheet of each shipment (up to 25) | |
| shipments | Yes | The shipments. Without an API key the public service takes up to 100 per call; with one, up to 10,000. | |
| add_road_legs | No | Add road legs where the legs don't join up (gaps over 5 km), and to a port or terminal when a sea, rail or river leg starts or ends off its network (default true). Added legs are marked in the result. |