Get comments on a YouTube video
youtube_commentsFetch top-level comments from one public YouTube video, given its URL. Returns up to 20 top comments with author, text, like count, reply count, date and the author's channel link. Use it for audience sentiment, feedback mining and finding engaged commenters. Needs a specific video URL; to find videos first use youtube_search.
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 | Full YouTube video URL, e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ (youtu.be and /shorts/ links also work). | |
| maxRows | No | How many rows to return (1-20, default 20). The free ChatGPT app is capped at 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Result rows | |
| tool | Yes | ||
| count | Yes | Number of rows returned | |
| error | No | ||
| fullToolUrl | No | Lection page for running this at full scale with exports and schedules |