List route segments for a shipment
list_shipment_routesRetrieve a shipment's route segments, including each leg between stops, corridor width, and possible routes, to inspect or plan its path.
Instructions
List route segments for a shipment
Returns a shipment's route segments: the leg between two of its stops, the corridor width around it and the routes it may take.
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": {
"shipmentId": "<shipmentId>"
},
"name": "list_shipment_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipmentId | Yes | The shipment id, from `list_shipments`. |