Search food, products and vendors
zoodex_searchSearch food and grocery offerings, filter for discounted items, and retrieve vendor or product results—including variety IDs needed to add products to a cart.
Instructions
Search Zoodex in the selected city. scope='all' returns top vendors and products, 'products' or 'vendors' are paged. Use only_discounted=true for items on sale. Product results include variety_id, which is what zoodex_cart_set_item needs. Prices are in toman (the API uses rials; 1 toman = 10 rials).
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>"
},
"name": "zoodex_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | food = restaurants/cafes, supermarket = groceries. | food |
| limit | No | Max items to return. | |
| query | Yes | What to search for, e.g. 'پیتزا', 'burger', a restaurant name. Persian queries work best. | |
| scope | No | all | |
| sorts | No | Vendor sorts from zoodex_search_options.available_sorts, e.g. [{type:'rate',order:'desc'}] or [{type:'date',order:'desc'}]. Not supported for product search. | |
| offset | No | Items to skip (for paging). | |
| filters | No | Raw search filters, as returned by zoodex_search_options.available_filters, e.g. [{type:'off',value:1}] (discounted), [{type:'golden',value:1}] (Golden Off), [{type:'special',value:1}], [{type:'in_person_delivery',value:1}], [{type:'vendor_type',value:7}]. | |
| vendor_type_id | No | Restrict to a vendor type id (see zoodex_vendor_types). | |
| only_discounted | No |