Mark shopping ingredients covered
update_shopping_listTicks off, unticks or partly covers lines on a shopping list ('I already have rice', 'I only need 200g more'). Takes shoppingListId, expectedRevision and changes keyed by line ID (excluded or coveredQuantity), all from get_shopping_list. Changes only what to buy; recipes and pantry are untouched. Repeating the same values is safe; a revision conflict means the list changed and get_shopping_list has the new revision. Requires a linked Chop it account.
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": {
"shoppingListId": "<shoppingListId>",
"expectedRevision": "<expectedRevision>",
"changes": "<changes>"
},
"name": "update_shopping_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| shoppingListId | Yes | The exact shopping list to read or update. Never infer the list from an old widget. | |
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| counts | No | ||
| source | No | ||
| readOnly | No | ||
| revision | No | ||
| sections | Yes | ||
| recipeIds | No | ||
| recipeServings | No | ||
| shoppingListId | Yes | ||
| shopIntelligence | No | ||
| sourceMenuDraftId | No | ||
| remainingItemCount | No | ||
| localStateAvailable | No | False for app-week reads: browser-only ticks, extras and serving overrides are unavailable. |