list_document_comments
Retrieve and paginate comments on a specific document to review feedback, track collaboration, or find specific input from users. Supports optional anchor text inclusion.
Instructions
Retrieves comments on a specific document with pagination support.
IMPORTANT: By default, this returns up to 25 comments at a time. If
there are more than 25 comments on the document, you'll need to make
multiple calls with different offset values to get all comments. The
response will indicate if there
are more comments available.
Use this tool when you need to:
- Review feedback and discussions on a document
- See all comments from different users
- Find specific comments or questions
- Track collaboration and input on documents
Args:
document_id: The document ID to get comments from
include_anchor_text: Whether to include the document text that
comments refer to
limit: Maximum number of comments to return (default: 25)
offset: Number of comments to skip for pagination (default: 0)
Returns:
Formatted string containing comments with author, date, and
optional anchor text
Input Schema
Name | Required | Description | Default |
---|---|---|---|
document_id | Yes | ||
include_anchor_text | No | ||
limit | No | ||
offset | No |
Input Schema (JSON Schema)
{
"properties": {
"document_id": {
"title": "Document Id",
"type": "string"
},
"include_anchor_text": {
"default": false,
"title": "Include Anchor Text",
"type": "boolean"
},
"limit": {
"default": 25,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"required": [
"document_id"
],
"title": "list_document_commentsArguments",
"type": "object"
}