List doc comments
list_doc_commentsList comments and replies on a doc, newest first. Filter by resolved, authorId or assigneeId (a user ID or me), or parent (root for top-level comments, or a comment ID for its replies). Returns comments, hasMore and nextCursor; pass nextCursor back as cursor.
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": {
"docId": "<docId>"
},
"name": "list_doc_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Doc ID. | |
| limit | No | Maximum comments per page (1-100). | |
| cursor | No | Previous nextCursor. | |
| parent | No | root for top-level comments, or a comment ID for its replies. | |
| authorId | No | User ID or me. | |
| resolved | No | Only resolved or open comments. | |
| assigneeId | No | User ID or me. | |
| response_format | No | How much to return. concise applies when omitted; detailed adds every field and the full text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comments | Yes | ||
| nextCursor | No |