check_shopping_item
Update a shopping list item's status according to your list settings: mark as bought, delete, or transfer to pantry.
Instructions
Check off a shopping-list item. The list's settings decide the actual effect: markDone flags the item as bought (stays on the list, struck through), removeOnCheck deletes it, and moveOnCheck transfers it into the pantry. Mutates state and returns the updated row. To unconditionally remove regardless of list settings use delete_shopping_item; for stock changes on a pantry item use reduce_pantry_amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Item uuid (from `list_shopping_items[].uuid` or `add_shopping_item`). | |
| listId | No | List UUID — call `list_lists` to discover one. Optional only in stdio mode (falls back to the PANTRIST_LIST_ID env var); required explicitly in HTTP mode. |