Show a route segment
get_shipment_routeRetrieve a single route segment for a shipment by shipment ID and route ID, enabling lookup of a specific leg or path detail from listed shipment routes.
Instructions
Show a route segment
Returns one route segment of a shipment.
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>",
"routeId": "<routeId>"
},
"name": "get_shipment_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routeId | Yes | The route segment id, from `list_shipment_routes`. | |
| shipmentId | Yes | The shipment id, from `list_shipments`. |