Create Comment on Document
drive_create_commentAdd a comment to a Google Doc, optionally anchored to specific text.
Instructions
Add a comment to a Google Doc. Can be anchored to specific text or unanchored.
Args:
file_id (string): The ID of the Google Doc
content (string): The text content of the comment
quoted_text (string, optional): Text to anchor the comment to (for anchored comments)
Returns: { "id": string, "content": string, "author": string, "createdTime": string }
Examples:
Unanchored: file_id="...", content="Please review this section"
Anchored: file_id="...", content="Typo here", quoted_text="teh"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The ID of the Google Doc to add a comment to | |
| content | Yes | The text content of the comment | |
| quoted_text | No | Optional text to anchor the comment to (for anchored comments) |