Create shopping entry
create_shopping_entryCreates a shopping list entry for a specified amount and food, with optional units, lists, and meal plan links so agents can add needed items to Tandoor shopping lists.
Instructions
Create a shopping list entry. Required: amount, food_id. Optional: unit_id, checked, list_recipe, ingredient, order, delay_until, mealplan_id (links to existing/new ShoppingListRecipe for that mealplan), shopping_list_ids. shopping_list_ids (ids from list_shopping_lists) puts the entry on exactly those lists; the food's lists are not added. When shopping_list_ids is omitted, Tandoor copies the food's lists onto the new entry if the user preference shopping_update_food_lists is on. With [], the tool clears any lists Tandoor copied, so the entry is on no list. add_recipe_to_shopping_list always copies each food's lists; food_shopping_update never does. Changing a food's lists later does not change existing entries. Every list id is checked against list_shopping_lists first; unknown or repeated ids are rejected and nothing is written. If the lists after the write differ from the request, the tool errors and names the missing and the extra lists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| amount | Yes | ||
| format | No | ||
| checked | No | ||
| food_id | Yes | ||
| unit_id | No | ||
| ingredient | No | ||
| delay_until | No | ||
| list_recipe | No | ||
| mealplan_id | No | ||
| shopping_list_ids | No |