Add to shopping list
add_shopping_itemAdd one item to the shopping list for the week that holds weekStart. The week needs a plan.
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": {
"weekStart": "<weekStart>",
"displayName": "<displayName>"
},
"name": "add_shopping_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit for the quantity, e.g. 'l', 'stk', 'g'; omit if none. | |
| quantity | No | Amount, if the user said one, e.g. 2. | |
| weekStart | Yes | Any date in the week whose list gets the item. | |
| displayName | Yes | What to buy, e.g. 'melk' or 'kaffe'. Include the amount in quantity/unit rather than in the name. |