edit_items
Update existing Listonic grocery list items: tick off purchased items, untick them, rename, or adjust amount/unit—send only changed fields in one batch call.
Instructions
Change items already on a list: tick them off when bought (isChecked: true), untick (false), rename, or change amount/unit. "I bought X" = tick it off, do not delete. Send only the fields to change; omitted or null fields stay as they are; send amount 0 and unit "" to clear the quantity. Get itemIds from get_items. Items can't be moved between lists - add to target list and delete from source. Batch: send all items to change in one call. Returns the updated items in get_items format.
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>",
"listName": "<listName>",
"items": "<items>"
},
"name": "edit_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Items to edit | |
| listId | Yes | The list ID (from get_lists) | |
| listName | Yes | The list's name exactly as get_lists shows it. Shown in the permission prompt so the user can confirm the right list; not sent to the API. |