Comment on a task
comment_createPost a comment on a task you can read (any role, viewers included; an external member on shared tasks only): a question, a requested change or an answer, in markdown. Comments are not a status channel: the task's own state says where the work stands. It lands in the task's timeline (task_get) and the workspace's changes; nobody is emailed. Returns the comment with its id, which comment_update and comment_delete take.
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": {
"taskId": "<taskId>",
"body": "<body>"
},
"name": "comment_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| body | Yes | The comment, markdown, at most 8000 characters: a question, a requested change or an answer. Never a status: the task's own state says where the work stands. | |
| taskId | Yes | The task to comment on, by its id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes |