search_restaurants
Search for restaurants near a location by latitude and longitude. Filter by cuisine, restaurant name, or dish, and choose delivery or pickup with pagination and sorting.
Instructions
Search for restaurants near a location.
Args: latitude: Latitude of the delivery address longitude: Longitude of the delivery address query: Optional search query (cuisine, restaurant name, dish) page_size: Number of results per page (default 20) page_num: Page number for pagination (1-based, default 1) sort_type: Optional sort — leave empty for default relevance location_mode: DELIVERY or PICKUP (default DELIVERY)
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": "search_restaurants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| latitude | Yes | ||
| page_num | No | ||
| longitude | Yes | ||
| page_size | No | ||
| sort_type | No | ||
| location_mode | No | DELIVERY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |