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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "0189c8d4f2b1712a9e4d6c9a1b2e3f4a",
"category": "DairyAndEggs",
"quantity": 3
},
"name": "update_shopping_list_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id from add_shopping_list_item or list_shopping_list_items. | |
| name | No | New item name. | |
| category | No | New store-aisle category, overriding the auto-assigned one. | |
| quantity | No | New quantity, 1-9999. Replaces rather than adds to the current one. | |
| shoppingListId | No | Move the item to a different list, an id from list_shopping_lists. Omit to leave it where it is; name the default list explicitly to move it back. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| title | No | ||
| message | No | ||
| variant | No |