Get the shopping list for an online cart
assemble_online_grocery_orderBuilds the online grocery cart list for this week's recipes: needed items minus pantry stock, grouped with quantities and store, stopping before checkout.
Instructions
Returns the shopping list for filling an online grocery cart: everything this week's selected recipes need minus what is on hand, grouped by item with quantities and which recipe needs it, plus the preferred store. Drive the browser to fill the cart; stop before checkout for approval; then call record_grocery_order.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "assemble_online_grocery_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes | ||
| items | Yes | ||
| store | Yes | ||
| recipes | Yes | ||
| servings | Yes | ||
| instructions | Yes | ||
| skipped_on_hand | Yes | ||
| shopping_preferences | Yes |