update_shopping_list_item
Update a shopping list item's name, quantity, and/or category. Only the fields provided are changed; any field left out keeps its current value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the shopping list item to update, as returned by add_shopping_list_item, batch_add_shopping_list_items, or list_shopping_list_items. | |
| name | No | New name for the item. Maximum 200 characters. Omit to leave the current name unchanged. | |
| category | No | New store-aisle category for the item, overriding any auto-assigned category. Omit to leave the current category unchanged. | |
| quantity | No | New quantity for the item, replacing (not adding to) the current quantity. Minimum 1, maximum 9999. Omit to leave the current quantity unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| title | No | ||
| message | No | ||
| variant | No |