Grocery List & Checkout
build_shopping_listMake a grocery list and a checkout link. Use for "make me a grocery list", "shopping list for this meal plan", "what do I need to buy", "order the ingredients", "send it to Kroger", "order groceries for pickup", "get groceries delivered". Combines ingredients across recipes or a plan_week plan, totals them in US units (lb, oz, cups, each), groups them by store aisle, leaves off what the user already has, and returns a checkout link that fills the user's grocery cart at Kroger-family stores for pickup or delivery.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | No | plan_id from plan_week. | |
| recipes | No | Catalog recipes to shop for, with how many servings to make. | |
| extra_items | No | Anything else to add, e.g. {"name": "coffee"}. | |
| have_on_hand | No | Items the user already has; they are left off the list. | |
| skip_pantry_staples | No | Leave off salt, pepper, oil, flour, sugar and common spices. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| aisles | Yes | ||
| skipped | Yes | Items left off because the user has them or they are pantry staples. | |
| checkout | Yes | ||
| item_count | Yes |