searchComments
Search YouTube comment collections to find relevant comments by query, with results ranked by relevance and showing author, likes, and score.
Instructions
Search imported comment collections with ranked results. Returns matching comments with author, like count, and relevance score. Uses active comment collection by default.
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": {
"query": "<query>"
},
"name": "searchComments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query | |
| collectionId | No | Specific collection to search | |
| maxResults | No | ||
| minScore | No | ||
| videoIdFilter | No | ||
| useActiveCollection | No |