Add Annotation Comment
add-annotation-commentAdd a comment to an annotation on a document. It becomes the opening comment if the annotation has none yet, otherwise a reply in its thread. Readers see it in the viewer; it does not trigger automations.
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": {
"doc_id": "<doc_id>",
"annotation_id": "<annotation_id>",
"author": "<author>",
"text": "<text>"
},
"name": "add-annotation-comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The comment text. | |
| author | Yes | Name shown as the comment author in the viewer. | |
| doc_id | Yes | The public id of the document the annotation belongs to. | |
| annotation_id | Yes | The id of the annotation to comment on, as returned by "list-document-annotations". |