Search an option’s values
search_option_choicesResolves an option whose type is search on list_platforms, such as a place to tag a post with: the set is too large to list, so it is searched. Pass query with a name and send the chosen result’s value as the option. Pass value instead to turn a value already on a post back into its label.
One of query or value is required. Only for search options. Never invent a value for one: if nothing matches, tell the user rather than sending something close.
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": {
"channelId": "<channelId>",
"key": "<key>"
},
"name": "search_option_choices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The option’s `key` on `list_platforms`. | |
| query | No | What to search for, such as a place name. | |
| value | No | A value already stored, whose label you want. Ignored when `query` is sent. | |
| channelId | Yes | A channel id from `list_channels`. |