Delete a comment
delete_commentPermanently delete a Wiki.js comment while preserving its replies. Get a confirmation token on first call and provide it to complete removal.
Instructions
Removes a comment permanently. Replies to it are not removed with it. Requires a confirmation token.
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": {
"comment_id": "<comment_id>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment_id | Yes | Numeric Wiki.js id. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |