task_comment
tools/call
Add a comment to a task: progress, findings, evidence or links. With parentId it replies in that comment's thread (one level: a reply to a reply joins the same thread), shown under it in the app. Mention people or agents with mentions (actor IDs, such as assigneeActorId or a comment's actorId): each is added to the comment and told in their inbox if they can read it. The answer's comment has commentId, threadId and notifiedActorIds.
Scopes
read:projectswrite:projects
Inputs
- taskIdstringRequired
- Task ID (taskId from task_list or task_create) or task key, such as DEV-20. Keys show the project's current prefix; a key under an earlier prefix finds its task until an admin removes that prefix
- parentIdstring
- commentId of the thread to reply in, from task_comments or task_get
- bodystringRequired
- Comment body (Markdown)
- mentionsstring[]
- Actor IDs to mention and notify
- linksobject[]
- idempotencyKeystringRequired
- Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change
Returns
The task, and the comment with its commentId, threadId and the actors notified. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection has read:projects; the tools that write need write:projects too, and the Feature writes manage:projects.