Track an order
track_orderUse this when a signed in customer asks where one teas.co.uk order is. order_number is the number from my_orders or the order confirmation email, with or without a leading #. Only orders on the linked account are found; any other number returns a not found error. Once the order has shipped it includes courier tracking links; before that, a note on dispatch times. can_return says whether start_return can be used. For a list of recent orders use my_orders.
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": {
"order_number": "<order_number>"
},
"name": "track_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_number | Yes | The order number, for example 123456. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| note | No | ||
| items | No | ||
| number | Yes | ||
| status | Yes | ||
| ship_to | No | Town and postcode area only. | |
| delivery | No | ||
| tracking | Yes | ||
| view_url | No | ||
| can_return | No | A return request can be started for this order. | |
| item_count | No | ||
| total_text | No | ||
| has_tracking | No |