List restaurants
tf_restaurantsList restaurants or grocery stores delivering to a point with rating, delivery fee, minimum order, and ETA. Use to browse or rank vendors with filters for cuisine, courier, discounts, and new options.
Instructions
List restaurants (or grocery stores) delivering to a point, with rating, delivery fee, minimum order and ETA.
Use to browse or rank vendors. Page 1 also returns 'categories' (cuisine filters for the category param). No dish prices: use tf_menu. Returns 404 outside the served cities (tf_list_cities).
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": {
"lat": "<lat>",
"long": "<long>"
},
"name": "tf_restaurants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Delivery point latitude, e.g. 35.7577. | |
| kind | No | restaurants, or grocery stores (خواربار). | restaurants |
| long | Yes | Delivery point longitude, e.g. 51.4095. | |
| page | No | Page number, from 1. | |
| sort | No | Order of the results. | default |
| category | No | Cuisine chip filter from the 'categories' of a page-1 result, e.g. '1-82' (kebab). | |
| delivery | No | Courier: Tapsi's own, or the vendor's. | any |
| new_only | No | Only new vendors. | |
| page_size | No | Feed items per page; page 1 spends some on widgets, so it lists fewer vendors. | |
| discounted_only | No | Only vendors with a discount. |