Track an order
track_orderHow an order is going, for the connected person's own order: for a delivery, the stage, minutes remaining, how far the rider is from the drop-off (km) and the rider's first name; for a scheduled pre-order, its time slot, ready time (in the venue's local time) and what is due in advance; for other orders, the status. The rider's phone number and exact location are never returned.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "track_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | No | The orderId from list_my_orders | |
| orderCode | No | The order code returned when the order was placed, e.g. WA-K4M2 | |
| restaurantId | No | The venue the order was placed at (needed with orderCode if the person has the same code at two venues) |