Create a Docmost comment
create_commentPosts a comment on a Docmost page, attached to quoted text or as a thread reply, and notifies mentioned members.
Instructions
Posts a comment on a page, attached to a quoted piece of text when quote is given, or a reply in a comment's thread when parentCommentId is given, and notifies the people it mentions.
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": {
"pageId": "<pageId>",
"text": "<text>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain-text comment; blank lines start new paragraphs, and @[Full Name] mentions a member, which notifies them. | |
| quote | No | Exact text to attach the comment to, copied from get_page; must appear once inside one paragraph or heading. | |
| pageId | Yes | Page id, slug id, or the full page URL copied from the browser. | |
| parentCommentId | No | Reply in this comment's thread; a reply's id posts under the thread's top comment. |