add_item
Add a deterministic item value to a grocery list. For ambiguous names, resolve item first to ensure correct action.
Instructions
Add a deterministic item value to a grocery list. For ambiguous or natural-language names, call resolve_item_to_add first and then follow its recommendedAction.
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": {
"listId": "<listId>",
"value": "<value>"
},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note for the item | |
| value | Yes | The name/value of the item to add | |
| listId | Yes | The ID of the list to add the item to |