swiggy_search
Swiggy (India) restaurant search near a location, optionally filtered by a keyword or browsed within a curated collection (see swiggy_collections): id, name, cuisines, cost for two, rating, delivery time, and open/closed status. A keyword search can pick either result tab (tab=dish returns matching dishes with prices per restaurant, tab=restaurant a wider restaurant-name/cuisine match), sort by relevance/rating/delivery time, and filter by veg, min_rating, and offers.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "swiggy_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Which of Swiggy's own two keyword-search result tabs to read: dish (default -- restaurants that serve a matching dish, each with the matching dishes) or restaurant (restaurants whose own name/cuisine matches, a wider set). Only valid together with query. | |
| veg | No | Only return vegetarian results: veg dishes on tab=dish, pure-veg restaurants on tab=restaurant. Only valid together with query. | |
| sort | No | Optional sort order. With collection_id: relevance (default), delivery_time, rating, cost_low_to_high, cost_high_to_low. With query: relevance (default), delivery_time, rating only. Not valid on a plain nearby browse. | |
| query | No | Optional keyword to search restaurants and dishes by, at least 2 characters. Omit for a plain location browse of nearby restaurants. Mutually exclusive with collection_id. | |
| offers | No | Only return restaurants currently running an offer. Only valid together with query. | |
| offset | No | Opaque pagination cursor from a prior response's next_offset. Not meaningful when query is set (Swiggy's own keyword-search endpoint does not paginate the same way). | |
| latitude | Yes | Search center latitude (required). | |
| longitude | Yes | Search center longitude (required). | |
| min_rating | No | Only return restaurants rated at or above this score (0-5). Only valid together with query. | |
| collection_id | No | Optional curated collection id from /swiggy/collections's id field. When set, browses restaurants within that collection instead of the plain nearby listing. Mutually exclusive with query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |