deleteComment
Permanently deletes a comment and all its replies from a Google Doc using the document ID and comment ID.
Instructions
Permanently deletes a comment and all its replies from the document.
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>"
},
"name": "deleteComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | The ID of the comment to delete | |
| documentId | Yes | The document ID — the long string between /d/ and /edit in a Google Docs URL. |