Update Comment
youtube_update_commentUpdate the text of an existing YouTube comment to correct errors or revise content. Requires comment ID and new text.
Instructions
Updates the text of an existing comment owned by the authenticated channel.
Args
commentId(string, required) — ID of the comment to update.text(string, required) — New text content for the comment.
Returns The updated comment resource:
{
"id": "string",
"parentId": "string",
"authorDisplayName": "string",
"text": "string",
"updatedAt": "ISO-8601"
}Examples
Fix a typo in a comment:
{ "commentId": "UgxABC123_reply", "text": "Corrected text here." }
Errors
400 if
textis empty or thecommentIdis invalid.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>",
"text": "<text>"
},
"name": "youtube_update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | ID of the comment to update. | |
| text | Yes | New text content for the comment. |