get_video_comments
Fetch top-level comments from a YouTube video by URL. Get author, text, like count, reply count, and publish date, with optional relevance or time sorting.
Instructions
Fetch top-level comments from a YouTube video. Returns author, text, like count, reply count, and publish date.
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": {
"url": "<url>"
},
"name": "get_video_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL or video ID | |
| order | No | Sort order (default: relevance) | |
| max_results | No | Number of comments (1-100, default: 20) |