List comments on a doc
list_commentsRetrieve a Google Doc's comments with authors, timestamps, open/resolved status, quoted text, context, bodies, and replies. Use each comment's id to reply and its quoted text to resolve.
Instructions
List the comments on a Google Doc, each with the text it is on (quotedText), the sentence around it (context, the text in ⟦⟧), its author (a display name, never an email) and time, whether it is open or resolved, its body and its replies. A comment with a range is on that part of the doc, in the body or in a header or footer, and moves with its text; a comment with none was made in Drive and has only its quoted text. Pass a comment’s id as replyTo to add_comment, and its quotedText as expectQuotedText to resolve_comment.
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": {
"path": "<path>"
},
"name": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The doc: a Drive id or URL, or /folder/doc. A tab path names its doc. | |
| account | No | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |