Search dishes
tf_search_dishesSearch dishes by name near a delivery point and compare price, discount, and restaurant, listing only currently open restaurants for nearby food queries.
Instructions
Search dishes by name near a delivery point, with price, discount and restaurant.
Use for "find X near me" or "cheapest / discounted X". Prices can lag the menu: confirm with tf_menu. Lists only restaurants open now (total can be 0 at night); tf_restaurants also lists closed ones.
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": "tf_search_dishes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Delivery latitude, e.g. 35.7577. | |
| long | Yes | Delivery longitude, e.g. 51.4095. | |
| page | No | Page, from 1. | |
| sort | No | cheapest / biggest_discount / top_rated sort the first 100 matches; nearest is Tapsi's order. | relevance |
| limit | No | Max dishes. | |
| query | Yes | Dish or restaurant word, e.g. 'پیتزا'. | |
| discounted_only | No | Only dishes with a discount. |