Find the cheapest store for a shopping list
compare_basketTotals a shopping list by supermarket near a location and ranks stores by basket cost, plus the lowest combined price when buying each item at its cheapest store.
Instructions
Totals a shopping list (barcodes and quantities) in each nearby supermarket and ranks them. Also returns the total if each item is bought where it is 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": {
"items": "<items>",
"lat": "<lat>",
"lng": "<lng>"
},
"name": "compare_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (Argentina is between -21 and -56) | |
| lng | Yes | Longitude (Argentina is between -53 and -74) | |
| top | No | How many stores to return per list | |
| items | Yes | Products to buy | |
| radius_km | No | Search radius in km (default 10, max 50) |