Add a tracking
create_trackingStart tracking a parcel using a tracking number and optional carrier, with carrier auto-detection. Returns tracking ID, status, and events for delivery monitoring.
Instructions
Start tracking a parcel. carrier may be our ID or a free-text carrier name. Returns the tracking (id, status, events). Counts against the monthly quota (see get_usage). Safe to retry: an idempotency key is sent automatically.
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": {
"tracking_number": "<tracking_number>"
},
"name": "create_tracking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrier | No | Carrier ID such as usps, ups, fedex, dhl, or a free-text carrier name ('USPS Priority Mail', 'Royal Mail', 'dhl_express'); the API maps it to our ID and the response shows that ID (an unknown name fails with carrier_not_supported; check it with resolve_carrier). Leave out to auto-detect; if detection is unsure the call fails with carrier_not_detected (use detect_carrier, then pass it). | |
| custom_id | No | Your own reference, such as an order number | |
| customer_email | No | Recipient email to associate with the tracking | |
| tracking_number | Yes | The carrier's tracking number |