List Comments
list_commentsRead open and resolved comment threads on the latest envelope session. Pass the envelope's document_id, not a session ID. Returns thread IDs (threads[].id), text, replies, resolution state, and enabled/read_only flags. Use a thread ID with reply_comment to add a message or with resolve_comment to change its resolution state. Requires envelopes:read.
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": {
"document_id": "<document_id>"
},
"name": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |