add_comment
Add a comment to a document or reply to an existing comment to provide feedback, ask questions, or collaborate on document development.
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 parent comment ID
(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 |
|---|---|---|---|
| text | Yes | ||
| document_id | Yes | ||
| parent_comment_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |