Search products by name
search_productsFind products by name at supermarkets near a latitude and longitude, returning barcodes and price ranges so you can look up detailed prices.
Instructions
Searches products by name in the supermarkets near a location and returns their barcodes and price range. Use it to find the barcode before asking for detailed prices.
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>",
"lng": "<lng>"
},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (Argentina is between -21 and -56) | |
| lng | Yes | Longitude (Argentina is between -53 and -74) | |
| limit | No | ||
| query | Yes | Words to search, e.g. "yerba playadito" or "leche descremada" | |
| radius_km | No | Search radius in km (default 10, max 50) |