Update shopping entry
update_shopping_entryModify a shopping entry's fields, checked state, and list associations. Validation prevents duplicate or invalid list IDs while preserving completion status when checked is omitted.
Instructions
Update a shopping entry (PATCH). Required: id. Other fields optional. When checked is omitted, the tool reads the entry and sends its current checked value again, so a checked entry keeps its completed_at. A check made elsewhere between that read and the write is undone (last write wins). shopping_list_ids puts the entry on exactly those lists; [] clears them; omit it to keep them. 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 |
|---|---|---|---|
| id | Yes | ||
| order | No | ||
| amount | No | ||
| format | No | ||
| checked | No | ||
| food_id | No | ||
| unit_id | No | ||
| delay_until | No | ||
| shopping_list_ids | No |