Manage Task Comment
commentWrite on a task's comment thread. action: "add" posts a comment, attributed to the connected user and visible to everyone in the workspace, so write it as a message to the user's teammates rather than a note to the user; nobody is notified. action: "edit" rewrites one of your own (only its author may, and it is then marked edited). action: "remove" deletes one permanently — comments have no Trash — so confirm with the user first. Read the thread with task_show and include: ["comments"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Comment text. Required to add or edit | |
| task | Yes | Workspace-scoped task number, encoded as a string | |
| action | Yes | What to do on the thread | |
| comment | No | Comment UUID or prefix (>= 4 chars). Required to edit or remove | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| workspace | No | Workspace id, slug, or name | |
| idempotency_key | No | Stable key that makes retries safe: repeated calls with the same key create only one record and return the same id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ok | Yes | ||
| action | Yes | ||
| taskId | Yes |