Get comments on a video
youtube_get_commentsRetrieves top-level comment threads from a YouTube video by video ID, with controls for result count and ordering by time or relevance.
Instructions
Lists top-level comment threads on a video.
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": "youtube_get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Comment ordering. Defaults to YouTube's own relevance ranking. | |
| videoId | Yes | Video id: the 11-character code after "watch?v=" or "youtu.be/", not the full URL. | |
| maxResults | No | Maximum results to return. Defaults to 20. |