add_shopping_list_item
Add an item to a shopping list by providing the list ID and a note, with optional quantity, unit, and food identifiers for precise entries.
Instructions
Add an item to a shopping list.
Args: list_id: Shopping list ID note: Item description (e.g. "2 lbs chicken breast") quantity: Numeric quantity (optional, for structured items) unit_id: Unit ID from get_units (optional) food_id: Food ID from search_foods (optional)
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": {
"list_id": "<list_id>",
"note": "<note>"
},
"name": "add_shopping_list_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| food_id | No | ||
| list_id | Yes | ||
| unit_id | No | ||
| quantity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |