Cheapest store for a list
compare_basketNeeds sign-in. The cheapest supermarket near a place for a whole list (product_ids with quantities), or the cheapest split across up to 3 stores, plus the next best single stores and what each is missing.
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>"
},
"name": "compare_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lng | No | ||
| lang | No | Language for product and chain names | he |
| items | Yes | ||
| place | No | Place in Israel: city, neighbourhood or address, Hebrew or English | |
| radius_km | No | Stores within this many km (default 5) | |
| max_stores | No | Allow splitting the basket across up to this many stores |