create_comment
Add a comment to a document using markdown text or rich-text data. Specify the document ID and optionally include parent comment or anchor text.
Instructions
Add a comment to a document. Provide markdown text (preferred) or rich-text data.
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": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | No | ||
| anchor_text | No | ||
| document_id | Yes | ||
| anchor_prefix | No | ||
| anchor_suffix | No | ||
| parent_comment_id | No |