youtube_preflight_set_comment_moderation_status
Preview a YouTube comment moderation status change—heldForReview, published, or rejected—before applying it; banning the author requires prior review and elevated: true.
Instructions
Read and preview a comment moderation action; banning 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>"
},
"name": "youtube_preflight_set_comment_moderation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| moderationStatus | Yes | New moderation status: heldForReview, published or rejected. |