Add Household List Items
add_list_itemsUse this when you need to append one or more items in one ordered batch; get listRef and expectedVersion from get_lists, and do not call get_list first.
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": {
"listRef": "<listRef>",
"expectedVersion": "<expectedVersion>",
"labels": "<labels>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "add_list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | One to 50 item labels to add together, in this order; encoded labels must total at most 8 KiB. | |
| listRef | Yes | Opaque list reference and current version returned by get_lists. | |
| idempotencyKey | Yes | Unique key that safely replays this whole batch. | |
| expectedVersion | Yes | Current list version returned by get_lists or another list write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| listRef | Yes | ||
| version | Yes | ||
| category | Yes | ||
| itemCount | Yes | ||
| addedItems | Yes | ||
| uncheckedItemCount | Yes |