add_to_shopping_list
Add items to a shopping list, linking them to catalog products or saving as free-text notes. Prevents misspelled product names from being added incorrectly.
Instructions
Add something to the shopping list.
If item names a catalog product the row is linked to that product, which
is what lets a later add_stock match it up. If it names nothing the pantry
tracks, the row is added as a free-text note instead — right for kitchen
roll, wrong for a misspelled product name, so this refuses when the text
looks close to an existing product rather than quietly writing a note.
Args: item: Product name, description fragment, barcode, or free text. amount: How much to buy, in the product's stock unit. note: Optional extra text on the row, e.g. "the big tin".
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": {
"item": "<item>"
},
"name": "add_to_shopping_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| note | No | ||
| amount | No |