video_comments
Read YouTube comments and filter them by keywords, sort order, replies, and character limits to extract relevant viewer feedback.
Instructions
Read YouTube comments. sort: 'top' or 'new'. replies=True adds replies (3 per thread).
query: comma-separated terms; scans up to scan comments and returns only those containing
any term (case-insensitive), e.g. query="broke,refund,scam". Each comment is cut to max_chars_each.
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": {
"url": "<url>"
},
"name": "video_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| scan | No | ||
| sort | No | top | |
| query | No | ||
| replies | No | ||
| max_comments | No | ||
| max_chars_each | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |