Get delivery route
get_delivery_routeFetch the planned route for a delivery, with per-leg distances and optional GeoJSON geometry for mapping.
Instructions
The robot's planned route for a delivery: distance per leg, and optionally the GeoJSON geometry for mapping.
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": {
"delivery_id": "<delivery_id>"
},
"name": "get_delivery_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_id | Yes | Delivery id returned by dispatch_robot | |
| include_geometry | No | Include GeoJSON LineStrings |