wikijs_create_comment
Create a comment on a Wiki.js page with content, optional reply, guest details, or confirmation token.
Instructions
Create a new comment on a page. Requires WIKI_MUTATIONS_ENABLED=true and may need comment posting permissions. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.
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>",
"content": "<content>"
},
"name": "wikijs_create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must match WIKI_MUTATION_CONFIRM_TOKEN if set. Optional when token is not configured. | |
| pageId | Yes | Page ID to comment on. | |
| content | Yes | Comment content. | |
| replyTo | No | Optional comment ID to reply to. | |
| guestName | No | Guest name (if posting as guest). | |
| guestEmail | No | Guest email (if posting as guest). |