Order costs
food_order_costsRetrieve a restaurant's delivery fee, ETA, minimum order, and coupon conditions for a given location to calculate the true total cost of ordering.
Instructions
Get the extra costs and conditions of ordering from one restaurant.
Delivery fee, ETA, minimum order and coupons (basket total needed, first-order only). Packaging is in food_menu.
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": {
"vendor_code": "<vendor_code>",
"lat": "<lat>",
"long": "<long>"
},
"name": "food_order_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Delivery latitude. | |
| long | Yes | Delivery longitude. | |
| vendor_code | Yes | Vendor code, e.g. '947evd'. |