plan_truck_route
Compute a truck route with hazard warnings along it. Each call counts against the plan's monthly routing quota.
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": {
"origin": "<origin>",
"destination": "<destination>",
"truck": "<truck>"
},
"name": "plan_truck_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truck | Yes | truck profile as in POST /routing/route, e.g. {"weight_t":36,"height_m":4.1,"length_m":21}; may be {} | |
| units | No | metric or imperial | |
| origin | Yes | start point | |
| waypoints | No | intermediate stops | |
| destination | Yes | end point | |
| departure_time | No | ISO 8601 or now | |
| include_geometry | No | keep the route polyline in the output (large) |