Read the shopping list
shopping_listRetrieves a shared flat's shopping list, including open items and recent purchases with IDs and timestamps, so you can check duplicates, update bought status, or remove entries.
Instructions
Read the flat's shopping list: every open item (oldest first), followed by the most recently bought items (newest first, capped at about 1000). Each item has id, name, quantity, addedBy/addedByName, boughtBy, boughtAt (null while open) and updatedAt. Call it first to get the id (for shopping_set_bought and shopping_remove) and the updatedAt and boughtAt that shopping_set_bought requires, or to check for an open duplicate before shopping_add. For supplies stock instead of things to buy, use inventory_list.
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": "shopping_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. |