drive_replies_create
Post replies to Google Drive file comments, and resolve or reopen threads by setting the action. Combine reply text with resolve/reopen to leave closing notes.
Instructions
Add a reply to a comment, or resolve/reopen it — a comment can only be resolved or reopened by posting a reply with action set. content is required unless action is set; combine both to leave closing/reopening text. Setting action changes the parent comment's resolved field, but resolving is advisory only: the API keeps accepting further replies and doesn't hide anything itself, it's on the client to act on resolved being true (e.g. hide or dim the thread).
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": {
"fileId": "<fileId>",
"commentId": "<commentId>"
},
"name": "drive_replies_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Set to change the parent comment's resolved state instead of (or alongside) replying with text | |
| fields | No | Fields to include (e.g. "id,content,action") | |
| fileId | Yes | The file the comment belongs to | |
| content | No | Reply text. Required if action is not set | |
| commentId | Yes | The comment to reply to |