add_comment
Add a comment to a task. Provide the task ID and non-empty content to create a comment; returns comment ID, content, author, and timestamps.
Instructions
Post a comment on a task. Returns the created Comment with id,
content, author, and timestamps.
Common 422 (KanbanToolValidationError with parsed field_errors):
content empty or whitespace-only — fix by passing a non-empty
string; the field_errors key matches the parameter name.
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": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| content | Yes | ||
| user_id | No | ||
| created_at | No | ||
| updated_at | No | ||
| deleted_at | No |