Get a video's comments
get_commentsReturns a YouTube video's comments, about 20 per page, top or newest first, with each comment's author, likes and reply count. Pass a comment's replies cursor to read its replies. 1 credit per page; a video with comments turned off costs nothing.
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": {
"video": "<video>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | top (default) or newest | |
| video | Yes | YouTube video ID (11 characters) or a youtube.com / youtu.be URL | |
| cursor | No | The cursor from a previous page of top-level comments | |
| replies_cursor | No | A comment's replies_cursor to list its replies, or the replies cursor a page of replies ends with to get the next page of them |