Quote delivery to an address
quote_deliveryThe delivery fee, distance and estimated delivery time from one venue to an address or a saved location, with no cart: a quick way to compare venues before building an order. The figure is the same one a draft order then shows. Also says whether the address is inside the venue's delivery area and whether the venue is open now. Needs a connected WaitApp account.
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": {
"restaurantId": "<restaurantId>"
},
"name": "quote_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restaurantId | Yes | ||
| deliveryAddress | No | Full delivery address. Not needed when savedLocationId is given | |
| savedLocationId | No | The id of one of the person's saved locations (list_saved_locations) |