Add comment
add_commentAdd a comment to a task without changing its fields to record progress or discuss work; use dryRun to validate the note before writing.
Instructions
Add a comment to a task without changing any of its fields. The body is comment — the same name as the CLI's --comment flag and update_task's field. author defaults to agent; pass dryRun to validate without writing. Use it to discuss or record progress; use update_task's comment when the note accompanies a status or field change (review REQUIRES the note on the same call).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id — a full id, or any unique prefix of one, of the task to comment on. An id that matches nothing is refused with TASK_NOT_FOUND; no task is created. | |
| author | No | Comment author. Defaults to agent; the CLI always derives it from git config, so only MCP can override it. | agent |
| dryRun | No | Preview only: validate the comment without writing it to the task. | |
| comment | Yes | The comment body — what changed, what you verified, what a reviewer should know. Required and non-empty: an empty body is refused by input validation before the tool runs. |