Track a package
track_packageGets one package's current status, courier, dates and event history from its tracking code, as spokepackagetracker.com shows them, with a link to that page. Without carrierId, it identifies the courier first: one match is tracked, several are returned as candidates without tracking, and none tries every tracking provider. Some couriers need the destination postal code or country, and the result lists them when they're missing. Every result has a trackingUrl; share it as a link in your reply so the user can follow the package.
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": {
"trackingCode": "<trackingCode>"
},
"name": "track_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrierId | No | Courier ID, as returned in identify_courier couriers or track_package candidates. | |
| postalCode | No | Destination postal code, for couriers that need it. | |
| trackingCode | Yes | Package tracking number as printed by the courier or retailer. Spaces and dashes are ignored. | |
| destinationCode | No | Destination country as an ISO 3166-1 alpha-2 code, for couriers that need it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| message | No | ||
| package | No | ||
| candidates | No | Couriers that may have issued the code | |
| trackingUrl | Yes | The package on spokepackagetracker.com. Share it with the user as a link. | |
| trackingCode | Yes | ||
| requiredFields | No |