YouTube comments
run_youtube_commentsGet the comments and replies of a YouTube video: author, text, likes, reply count, creator heart and when it was posted. 2 points per returned record.
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": "run_youtube_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL. e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ | |
| sort_by | No | Sorting order. Options: TOP_COMMENTS = Top comments | |
| newer_than | No | Only newer than (date or period; sorts newest first). e.g. 2026-01-01 or 30 days | |
| max_comments | No | Max comments (up to 1000) Default: 20. |