Post Comment
post_commentPublish a top-level comment on a YouTube video as the authorized user; provide the video ID or URL, comment text, and optional channel.
Instructions
Post a top-level comment on a video as the authorized user.
Quota: 50 units.
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": "<video>",
"text": "<text>"
},
"name": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The comment. | |
| video | Yes | Video ID or URL. | |
| my_channel | No | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | Yes | ||
| likes | No | ||
| author | Yes | ||
| status | No | Moderation status, where YouTube reports it. | |
| video_id | No | ||
| parent_id | No | Replies only: the comment replied to. | |
| updated_at | No | ||
| reply_count | No | Top-level comments only. | |
| published_at | Yes | ||
| author_channel_id | No |