create_comment
Add a comment to a Kanboard task with automatic author assignment. Returns the comment ID on success.
Instructions
Create a comment on a Kanboard task. The comment author is automatically set to the authenticated user (via getMe() cache); do NOT pass user_id — it is injected server-side. To edit a comment's body use update_comment; to remove one use delete_comment. Returns { comment_id } on success.
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": {
"task_id": "<task_id>",
"content": "<content>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ID of the task to comment on. | |
| content | Yes | Comment body text (required, non-empty). | |
| reference | No | Optional external reference (e.g. issue URL). | |
| visibility | No | Comment visibility level. Default: 'app-user'. | app-user |