plan_shopping
Plan a multi-store shopping trip near your location, comparing prices and products across Swiss grocery chains to find the best plan for your list.
Instructions
Plan a multi-store shopping trip near a location, picking the best products across configured Swiss grocery chains. Items can be generic ("milch", "pasta") or pinned to a specific SKU. Returns a primary plan plus alternatives. Use when the user gives a list of items and asks "where should I shop?" or "what's cheapest?". Strategies: single_store (one chain), split_cart (multi-chain with stop penalty), absolute_cheapest (no penalty).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The list of items to shop for. At least one item required. | |
| near | Yes | Shopper's location — used to find nearby stores. Pass coordinates, ZIP, or address. | |
| chains | No | Restrict the plan to these chains. Omit to consider all configured chains. | |
| strategy | Yes | single_store: buy everything at one chain (minimises trips). split_cart: allow multiple chains but add splitPenaltyChf per extra stop. absolute_cheapest: pick the cheapest source per item regardless of stops. | |
| splitPenaltyChf | No | Cost in CHF added per extra store stop in split_cart strategy. Default 2.00. | |
| radiusKm | No | Only consider stores within this radius of the provided location (1–50 km). Default 5 km. |