Bulk update shopping entries
bulk_update_shopping_entriesUpdate multiple shopping entries in one call: check or uncheck items and add, remove, replace, or clear their shopping lists while skipping invalid or inaccessible entry IDs.
Instructions
Update many shopping entries in one call. Required: ids (entry ids; ids that do not exist or are not visible to you are skipped). Give checked, a list change, or both. checked: true checks every entry and sets completed_at to now, also on entries already checked; without checked, checked and completed_at stay as they are. List changes do not update the entries' updated_at. List changes: shopping_lists_add and shopping_lists_remove (may be combined), shopping_lists_set (replaces the lists; must not be empty) or shopping_lists_remove_all: true (takes every list off). set and remove_all must be used alone. Empty arrays and shopping_lists_remove_all: false count as no change and are not sent. An id may not appear in both shopping_lists_add and shopping_lists_remove. Every list id is checked against list_shopping_lists first; unknown or repeated ids are rejected and nothing is written.
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": {
"ids": "<ids>"
},
"name": "bulk_update_shopping_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Shopping entry IDs, from list_shopping_entries. | |
| checked | No | true checks, false unchecks. Omitted keeps each value. | |
| shopping_lists_add | No | Shopping list IDs to add, from list_shopping_lists. | |
| shopping_lists_set | No | Replaces all lists with these IDs. Must not be empty. | |
| shopping_lists_remove | No | Shopping list IDs to remove. | |
| shopping_lists_remove_all | No | true takes every list off. |