youtube_comments
Retrieve top-level YouTube video comments by 11-character video ID and paginate results with continuation tokens for deterministic access.
Instructions
Retrieve top-level video comments. Returns one page of top-level comments for a YouTube video by its 11-character id. Each comment has its id, content, author user_name and channel_id, likes_count, reply_count and published_time. Comments with replies may include their own continuation_token; pass that token to /youtube/comments/{id}/replies. Pass the response-level continuation_token here for deterministic pagination. If omitted, the service discovers an initial cursor or may resume the most recently cached cursor for this 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": {
"id": "<id>"
},
"name": "youtube_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | YouTube video ID (11-character code) | |
| continuation_token | No | Opaque pagination token returned by a previous request; pass it for deterministic pagination |