create_comment
Post a comment on a task, project, issue OR client company (exactly one parent). Useful for AI-generated status updates, follow-ups, or notes - including progress on an Issue you filed. Caller must have visibility into the parent project. Task comments support two threads: the focused human-agent thread (threadKind 'AGENT', the task's [Agent] tab) and the team thread (threadKind 'general', the [Comments] tab). Comments default to the team thread, including your own progress/status updates. Set threadKind 'AGENT' ONLY to reply in the focused [Agent] thread - i.e. when replying to a comment you read (via get_task / list_comments / list_related_tasks) whose threadKind is 'AGENT', echo that value so the directed conversation stays in one thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | Comment on a task. Exactly one of taskId/projectId/issueId. | |
| content | Yes | 1-5000 chars. Plain text is formatted: blank lines separate paragraphs, lines starting "- " or "* " become a bulleted list, lines starting "1. " a numbered list. | |
| issueId | No | Comment on an Issue (Issue Log). Exactly one of taskId/projectId/issueId/companyId. | |
| companyId | No | Comment on a client company (Onplana Services). Exactly one of taskId/projectId/issueId/companyId. | |
| projectId | No | Comment on a project. Exactly one of taskId/projectId/issueId. | |
| threadKind | No | Task comments only. 'AGENT' = the focused human-agent thread ([Agent] tab); 'general' = the team thread ([Comments] tab). Defaults to the team thread; set 'AGENT' only to reply in the focused human-agent thread. | |
| idempotencyKey | No | Optional idempotency key. Pass a stable unique value (e.g. a UUID) to make this create safe to retry: calling again with the same key within 24h - even from a new session after a reconnect - replays the original result and creates no duplicate. Org-scoped; works across conversations. |