YouTube comments
youtube_commentsGet the top or the newest comments of a public YouTube video, with likes, reply counts and authors' public names. Returns at most 100 top-level comments. Costs 1 Pipefetch credit per started 20 comments; 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": "youtube_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Top comments first, or newest first. Default "top". | |
| limit | No | How many comments to return: 1 to 100. Default 20. Every started 20 cost 1 credit. | |
| video | Yes | A YouTube video ID or any YouTube video URL. |