Find cheapest dish
food_find_cheapestCompare total dish costs across nearby open restaurant menus and FoodParty deals, ranking options by discounted food price plus packaging, delivery, and minimum order.
Instructions
Find the cheapest way to get a dish: scans menus of nearby open restaurants plus FoodParty deals.
Ranks by total = food price after discount + packaging + delivery fee; check min_order. Slower than food_search.
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": {
"query": "<query>",
"lat": "<lat>",
"long": "<long>"
},
"name": "food_find_cheapest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Delivery latitude. | |
| long | Yes | Delivery longitude. | |
| limit | No | Max dishes. | |
| query | Yes | Dish word, e.g. 'پیتزا'. | |
| max_restaurants | No | Menus to scan (more = slower). |