comments_create
Add comments to Yonote entities like documents, and reply to existing comments via parent ID.
Instructions
Add a comment to an entity (e.g. entityType: "document").
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": {
"entityType": "<entityType>",
"entityId": "<entityId>",
"text": "<text>"
},
"name": "comments_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Comment text in Markdown | |
| entityId | Yes | Entity ID | |
| entityType | Yes | Entity type, e.g. "document" | |
| parentCommentId | No | Parent comment ID for replies |