update_item
Update name, category, note, or star rating for an item in a grocery list, given list ID, item ID, and new value.
Instructions
Update an item's details (name, category, note, or star rating)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listId": "<listId>",
"itemId": "<itemId>",
"newValue": "<newValue>"
},
"name": "update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note | |
| star | No | Star rating (0 or 1) | |
| itemId | Yes | The ID of the item to update | |
| listId | Yes | The ID of the list containing the item | |
| newValue | Yes | The new name/value for the item | |
| categoryId | No | Optional category ID (or null to remove category) |