Delete Comment
youtube_delete_commentDelete a YouTube comment permanently. Requires comment ID and explicit confirmation to prevent accidental deletion.
Instructions
Permanently deletes a comment owned by the authenticated channel. This action is irreversible.
Args
commentId(string, required) — ID of the comment to delete.confirm(boolean, default false) — Must be explicitly set totrueto proceed. Safety guard against accidental deletion.
Returns A short confirmation message and the deleted comment ID:
{ "deleted": true, "commentId": "string" }Examples
Delete a comment:
{ "commentId": "UgxABC123", "confirm": true }
Errors
Refused if
confirmis nottrue.403 if the comment does not belong to the authenticated channel, 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_delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | ID of the comment to permanently delete. | |
| confirm | No | Must be true to proceed with the destructive deletion. |