Compare grocery basket prices
compare_basketCompares a grocery shopping list using online prices for Shufersal, Rami Levy, Victory, Carrefour, Yaynot Bitan and Quik. Returns the total at each chain, the cheapest single chain, the cheapest split across chains, items not found, and links that open each chain's cart pre-filled. Chain totals include the chain's delivery fee, shown separately as deliveryFee (null means the fee is unknown and that total may exclude delivery). favorite: exact means that chain's product is one of the user's Bite favorites for the item. A chain without it has no favorite field and uses Bite's usual match. Signed in, the user's saved cards and clubs (add_benefit_program) are applied and the result lists which chains used card prices; otherwise totals are public prices and no card or club is mentioned. Example requests: "where is my shopping cheapest", "compare my list", "השוואת סל", "איפה הכי זול", "רשימת קניות", "סופר". Items may name a brand ("קוטג' בדין", "שוקולד עלית"); the chosen brand's product is matched at every chain. Returns a basket_id for refine_basket.
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>",
"address": "<address>"
},
"name": "compare_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Grocery items as the user wrote them, Hebrew or English, one per entry, with brand, quantity or size if given (e.g. "חלב 3% x2", "eggs L 12"). | |
| locale | No | Language of a "message" reply. Default "he". | |
| address | Yes | Delivery city or street and city in Israel (e.g. "רמת גן", "Herzl 10, Haifa"). | |
| max_chains | No | Most chains the user is willing to order from. Default 2. | |
| reply_format | No | "message" returns a short ready-to-send chat message with the main numbers instead of the full card data. Default "card". |