Check a list
list_containsCheck which of some labels a list or detail_list preference holds, such as whether the user has seen a movie.
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>"
},
"name": "list_contains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | the list's key, such as media.watched_movies | |
| labels | Yes | labels to look for, matched ignoring case, accents, punctuation and a leading "the"; at most 100 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| missing | Yes | ||
| pending | No | set when reading the list waits for the user's approval | |
| present | Yes |