Search groceries
market_searchFind a grocery product across SnappMarket stores that deliver to a given location, showing up to five matching items per store.
Instructions
Search a grocery product across all SnappMarket stores delivering to the point.
Stores (open or not) with up to ~5 matching products each. For one flat cheapest-first list use market_find_cheapest.
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": "market_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Delivery latitude. | |
| long | Yes | Delivery longitude. | |
| page | No | Page, from 0. | |
| limit | No | Stores per page. | |
| query | Yes | Product name, e.g. 'شیر'. |