resolveComment
Marks a Google Docs comment as resolved by posting a reply with the resolve action, then verifies the comment's status and errors if it remains unresolved.
Instructions
Marks a comment as resolved by posting a reply with the resolve action (the only Drive API mechanism that actually flips resolved status — comments.update cannot write it). Verifies the result and throws if the comment is still unresolved afterward.
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": "resolveComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional text for the resolution reply (e.g. explaining how the comment was addressed). | |
| commentId | Yes | The ID of the comment to resolve | |
| documentId | Yes | The document ID — the long string between /d/ and /edit in a Google Docs URL. |