youtube_set_comment_moderation_status
Set a YouTube comment’s moderation status to held for review, published, or rejected using an approved preview. Optionally ban the author when rejecting, with elevated confirmation.
Instructions
Set an approved comment moderation status; banAuthor requires elevated intent.
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": {
"commentId": "<commentId>",
"moderationStatus": "<moderationStatus>",
"approvalId": "<approvalId>"
},
"name": "youtube_set_comment_moderation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute; set it only after youtube_approve approved this exact preview. | |
| elevated | No | Must be true when banAuthor is true, after the user reviewed the ban. | |
| banAuthor | No | Also ban the comment author; allowed only with rejected and needs elevated: true. | |
| commentId | Yes | ID of a comment on the selected channel, from youtube_list_channel_comment_threads or youtube_list_moderation_comments. | |
| approvalId | Yes | Approval ID from the youtube_preflight_set_comment_moderation_status preview, after approving it with youtube_approve. | |
| moderationStatus | Yes | New moderation status: heldForReview, published or rejected. |