Get Video Comments
videos_getCommentsRetrieve comments from YouTube videos with pagination support, enabling analysis of viewer feedback and engagement through structured data extraction.
Instructions
Get comments from a YouTube video with pagination support
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": {
"videoId": "<videoId>"
},
"name": "videos_getComments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | The YouTube video ID | |
| maxResults | No | Number of comments to return (max 100, default 20) | |
| order | No | Sort order: relevance (default) or time | |
| pageToken | No | Page token for pagination |