YouTube comments
youtube_commentsDownload public comments of a YouTube video, Short, playlist or channel (replies optional): text, likes, reply count, author, date, pinned/hearted flags. Max 500 per call. 1 credit per 100 comments, rounded up per call. About 10 s per 100 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 | Video / Shorts / youtu.be link, video ID, playlist or channel (@handle) URL. | |
| sort | No | top | |
| max_videos | No | Newest videos taken from a channel or playlist URL. | |
| max_results | No | Comments (+ replies if enabled) to return in total (10-500). 1 credit per 100, rounded up. | |
| include_replies | No | Also return replies under comments (they count toward max_results). |