updateComment
Edits an existing top-level comment's text in place while preserving its ID and creation time, so you can revise feedback without deleting and recreating the comment.
Instructions
Edits a top-level comment's text in place, preserving its ID and creation time (unlike delete + recreate). Note: comment.resolved is a read-only field and cannot be changed here — use resolveComment.
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": {
"documentId": "<documentId>",
"commentId": "<commentId>",
"content": "<content>"
},
"name": "updateComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The new text content of the comment. | |
| commentId | Yes | The ID of the comment to update | |
| documentId | Yes | The document ID — the long string between /d/ and /edit in a Google Docs URL. |