Change list items
update_list_itemsChange items of a list or detail_list preference, found by label: rename one with new_label, or set some of a detail_list item's fields, such as its rating or note. Fields left out keep their values; null clears one.
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": {
"key": "<key>",
"items": "<items>",
"reason": "<reason>"
},
"name": "update_list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | the list's key, such as food.pizza_places | |
| items | Yes | the changes, at most 100 | |
| reason | Yes | one sentence on why, usually what the user said |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pending | No | set when the change waits for the user's approval | |
| updated | Yes | ||
| not_found | No | labels that matched no item |