add_item
Add an item to a shopping list by specifying the list ID, item name, and optional quantity.
Instructions
Add an item to a shopping list.
Args: list_id: The numeric ID of the shopping list. name: Name of the item to add. amount: Optional amount or quantity (e.g. "2", "500g").
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": "<name>"
},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| amount | No | ||
| list_id | Yes |