Get YouTube comments
get_commentsComments on a YouTube video with author, likes, reply count, and pinned/hearted flags. Pass nextCursor back as cursor for more, or a comment's repliesCursor as replies_to for its replies. Costs 1 credit per call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | YouTube URL or video ID (not needed with cursor or replies_to) | |
| sort | No | top or new | top |
| limit | No | Maximum comments to return | |
| cursor | No | nextCursor from a previous call | |
| replies_to | No | A comment's repliesCursor, to list its replies |