List YouTube Video Comments
youtube_commentsExtract top or newest video comments with author channel info, like count, reply count, published time, and continuation cursor.
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_id": "<video_id>"
},
"name": "youtube_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Continuation cursor token returned from a previous page. | |
| sort_by | No | Comment sort order: top or newest (default top). | |
| video_id | Yes | 11-character YouTube video ID or full YouTube URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Status code (0 on success). | |
| data | Yes | Paginated comments payload. | |
| meta | No | Gateway execution metadata including request ID, cache tier, and credits charged. | |
| status | Yes | Response status string (ok or error). |