list_comments
Retrieve comments on a file to review feedback. Displays unresolved threads by default, including author, line number, and comment ID for resolution or replies.
Instructions
List the comments on a file — open (unresolved) threads by default. Comments are feedback to act on: each shows the author (members and external share-link guests), the anchored line number if any, and the comment id needed by resolve_comment / add_comment replies.
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>"
},
"name": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | UUID of the file | |
| includeResolved | No | Also include resolved threads (default false) |