update_shipment_status
Change a shipment's status and log a history event, such as delayed, delivered, or exception, so logistics tracking stays accurate.
Instructions
Change a shipment's status and log a history event (e.g. mark delayed, delivered, exception).
Args:
shipment_id: Shipment ID such as "SHP-1002".
status: New status: created, picked_up, in_transit, delayed, out_for_delivery, delivered or exception.
city: Optional city where the update happened (defaults to the current/destination city).
note: Short human-readable reason, e.g. "Rain on NH-48, 6h delay". Stored as the shipment note.
Returns:
{"status": "ok", "previous_status": ..., "shipment": {...}, "event": {...}} or an error with valid values.
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": {
"shipment_id": "<shipment_id>",
"status": "<status>"
},
"name": "update_shipment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| note | No | ||
| status | Yes | ||
| shipment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||