Change the grocery list
update_listAdd items to, remove items from, or tick items on the user's grocery list by hand (at most 100 items; an item already on the list isn't added twice, but one there only for a meal becomes wanted by hand too). Give an amount for each item so it's costed right. Use item ids from get_list. clear: "checked" removes ticked items after a shop; clear: "all" empties the list and its meals. For a meal's ingredients use update_meals instead, so they stay linked. Returns the list like get_list. After a shop, offer to record what was bought with record_purchases.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| near | No | Where to price the list. Remembered for next time; omit to use the last place. | |
| check | No | Mark bought. | |
| clear | No | ||
| remove | No | ||
| uncheck | No | ||
| radiusKm | No | Search radius in km around `near` (default 5). | |
| maxStores | No | Shop at most this many stores (remembered; null clears it). The list is split across the set that prices the most items for the least. | |
| preferBanners | No | Only these banners, e.g. ["no-frills", "food-basics"] (remembered; null clears it). |