Mark Comment as Spam
youtube_mark_comment_as_spamMarks a YouTube comment as spam, flagging it for review by moderation systems.
Instructions
Marks a comment as spam, flagging it for review by YouTube's moderation systems.
Args
commentId(string, required) — ID of the comment to mark as spam.
Returns
{ "markedAsSpam": true, "commentId": "string" }Examples
Flag a spam comment:
{ "commentId": "UgxABC123" }
Errors
403 if you do not have permission to moderate this comment, or quota is exceeded.
404 if the comment does not exist.
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>"
},
"name": "youtube_mark_comment_as_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | ID of the comment to mark as spam. |