Start tracking a container, B/L or air waybill
track_containerChanges data: makes a shipment from a container number, bill of lading number or air waybill number and starts tracking it, as the person who connected this app, and records it in the organization's audit log. This registers the shipment with the carrier's tracking service and is billed to the organization like any new shipment, so ask the user to confirm the number before calling, and call it only when they ask to track it. If the organization already has a live shipment with that number, nothing new is made or billed: it answers with that shipment, and starts its tracking only if it was never started (also billed). Safe to repeat: the same number again answers with the same shipment, with created false, within 24 hours, even if it has since been archived. The plan or fair use can refuse a new shipment, which answers with the reason; tell the user and do not retry. A number that fails its check digit or format is refused: check it with the user. Answers with the shipment; tracking_started says whether this call registered it, and the carrier's events arrive within minutes, so read get_tracking_timeline a little later.
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": {
"transport_reference": "<transport_reference>"
},
"name": "track_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transport_reference | Yes | An ISO 6346 container number such as "MSCU1234566", a bill of lading number such as "MAEU123456789", or an air waybill number such as "016-25645270". |