Create Comment
create_commentAdd a comment to a Docmost page or reply to an existing comment by providing the page ID and Tiptap JSON content.
Instructions
Adds a comment to a page.
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": {
"page_id": "<page_id>",
"content": "<content>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content as a **JSON string** of a Tiptap document, e.g. '{"type":"doc","content":[{"type":"paragraph","content":' '[{"type":"text","text":"Hello"}]}]}'. | |
| page_id | Yes | UUID or slugId of the page. | |
| parent_comment_id | No | UUID of the parent comment to reply to (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||