YouTube comments
youtube-commentsGet the top 20 comments on any YouTube video with likes, reply count and age as JSON. Read audience reaction and questions without watching the video. Use it when: You want audience sentiment, praise or common questions about a video. Not for: The video itself or its transcript. Returns: 20 comments: text, likes, reply count, age, and whether the creator replied or hearted it. No commenter identities. Typical time: about 17 s. Price: $0.042 per search (up to 20 comments), charged only on success. One call = up to 20 comments.
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": "youtube-comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The video URL, e.g. https://www.youtube.com/watch?v=aircAruvnKk | |
| sortBy | No | Optional, default TOP_COMMENTS |