moderate_comment
Approve, hold, or reject a YouTube comment by comment ID, enabling AI agents to manage channel moderation.
Instructions
Moderate a comment (approve, hold, or reject).
Args: comment_id: Target comment id. action: One of 'published', 'heldForReview', 'rejected'.
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": {
"comment_id": "<comment_id>"
},
"name": "moderate_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | published | |
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |