delete_comment
Permanently delete a specific comment from Kanboard. Must provide comment ID and explicit confirmation. Returns success indicator and comment ID.
Instructions
Permanently delete a Kanboard comment. DESTRUCTIVE — requires explicit confirm: true. Returns { ok: true, comment_id } on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment_id | Yes | Comment id to permanently delete (required). | |
| confirm | Yes | Must be exactly `true` to confirm permanent deletion. |
Implementation Reference
- src/handler/kanboard.ts:1040-1049 (helper)The KanboardHandler.removeComment() method that calls Kanboard's removeComment API via the JSON-RPC client. This is the low-level API invocation delegated to by the tool handler.
/** * Permanently removes a comment. * Kanboard's wire param for this method is `comment_id`. * @throws {KanboardApiError} when Kanboard returns false. */ public async removeComment(commentId: number): Promise<void> { const raw = await this.#apiClient.call("removeComment", { comment_id: commentId }); this.#logger.debug({ method: "removeComment" }, "removeComment OK"); decodeMutation("removeComment", raw); }