add_comment
Add a comment to a document or reply to an existing comment to collaborate, provide feedback, or ask questions about specific content.
Instructions
Adds a comment to a document or replies to an existing comment.
Use this tool when you need to:
Provide feedback on document content
Ask questions about specific information
Reply to another user's comment
Collaborate with others on document development
Args: document_id: The document to comment on text: The comment text (supports markdown) parent_comment_id: Optional ID of a parent comment (for replies)
Returns: Result message with the new comment ID
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>",
"text": "<text>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| text | Yes | ||
| parent_comment_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |