Get YouTube Video Comments
get_commentsRetrieve top comments from a YouTube video sorted by popularity, with author, text, like count, and pinned status. Understand audience sentiment at a glance.
Instructions
Get top comments from a YouTube video sorted by popularity. Returns author, text, like count, and pinned status. Only top-level comments, no replies.
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": {
"video": "<video>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of top-level comments to return (1-50, default: 20) | |
| video | Yes | YouTube video ID (e.g., dQw4w9WgXcQ) or full URL |