yt_post_comment
Publish a public top-level comment on a YouTube video or Short under the authenticated channel, returning the new comment ID; fails if comments are disabled or the video is private.
Instructions
Post a public top-level comment thread on a YouTube video or Short via YouTube Data API v3 (commentThreads.insert, costs ~50 daily quota units). Requires OAuth2 with youtube.force-ssl scope. Non-idempotent: each call publishes a new visible comment immediately under the authenticated channel identity and returns {commentId, videoId, text}. Fails if comments are disabled on the target video or the video is private.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain-text comment body (1–10,000 characters) to publish publicly on the video. | |
| video_id | Yes | 11-character YouTube video ID where the top-level comment will be posted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| videoId | Yes | ||
| commentId | Yes |