gdrive_comments_list
List comments on a Google Drive file by ID, specifying required fields to return exact details like content, author, timestamps, and replies.
Instructions
List a file's comments. The fields parameter is required — for example comments(id,content,author,createdTime,resolved).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Required. The `fields` parameter must be set. To return the exact fields you need, see Return specific fields. Example: `comments(id,content,author,createdTime,modifiedTime,resolved,replies(id,content,author,createdTime,action))`. | |
| fileId | Yes | The ID of the file. | |
| pageSize | No | The maximum number of comments to return. The service may return fewer than this value. If unspecified, at most 20 comments will be returned. The maximum value is 100; values above 100 will be coerced to 100. | |
| pageToken | No | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. | |
| includeDeleted | No | Whether to include deleted comments. Deleted comments will not include their original content. | |
| startModifiedTime | No | The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time). |