create_shopping_item
Add a single item to a shopping list, either as a free-form note or as a structured food entry with quantity and unit.
Instructions
Create a single shopping item on a list.
Free-form items: pass note (e.g. "carrots, 2 lb").
Structured items: set is_food=true and pass food_id, optional unit_id.
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>"
},
"name": "create_shopping_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ||
| note | No | ||
| quantity | No | ||
| is_food | No | ||
| food_id | No | ||
| unit_id | No | ||
| label_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |