reply_to_comment
Reply to a top-level YouTube comment by providing the comment ID and reply text.
Instructions
Reply to a top-level comment. Requires youtube.force-ssl scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_id | Yes | Comment ID to reply to (top-level comment.id from list_comments) | |
| text | Yes |
Implementation Reference
- src/youtube/client.ts:215-221 (helper)YouTubeClient.replyToComment() helper: posts to the YouTube Data API v3 /comments endpoint with parentId and textOriginal.
replyToComment(parentId: string, text: string): Promise<unknown> { return this.dataPost( "/comments", { part: "snippet" }, { snippet: { parentId, textOriginal: text } }, ); }