Create Comment Thread
youtube_create_comment_threadPost a new top-level comment on a YouTube video, creating a comment thread. Provide the video ID and comment text to start a discussion.
Instructions
Posts a new top-level comment on a YouTube video, creating a new comment thread.
Args
videoId(string, required) — ID of the video to comment on.text(string, required) — Text of the top-level comment (supports basic HTML entities).
Returns The newly created commentThread resource:
{
"id": "string",
"videoId": "string",
"authorDisplayName": "string",
"text": "string",
"likeCount": 0,
"publishedAt": "ISO-8601"
}Examples
Comment on a video:
{ "videoId": "dQw4w9WgXcQ", "text": "Great video!" }
Errors
400 if
textis empty.403 if comments are disabled for the video or quota is exceeded.
404 if the video does not exist.
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": {
"videoId": "<videoId>",
"text": "<text>"
},
"name": "youtube_create_comment_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | ID of the video to post the top-level comment on. | |
| text | Yes | Text of the top-level comment. |