Remove list items
remove_list_itemsRemove items from a list or detail_list preference by label.
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>",
"labels": "<labels>",
"reason": "<reason>"
},
"name": "remove_list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | the list's key, such as media.watched_movies | |
| labels | Yes | labels of the items to remove, matched ignoring case, accents, punctuation and a leading "the"; at most 100 | |
| reason | Yes | one sentence on why, usually what the user said |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pending | No | set when removing waits for the user's approval | |
| removed | Yes | ||
| not_found | No | labels that matched no item |