get_video_comments
Fetch comments from a YouTube video by ID or URL, with options to set result count and sort by relevance or newest first.
Instructions
Get comments on a YouTube video.
Args: video_id: YouTube video ID or a video URL max_results: Maximum comments to return (1-100, default: 20) order: "relevance" (default) or "time" (newest first)
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": "get_video_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | relevance | |
| video_id | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |