update-task-comment
Modify the text or attachments of an existing Dooray task comment; use it to revise regular comments while noting comments created from emails cannot be updated.
Instructions
Update an existing comment (댓글) on a Dooray task.
This tool modifies the content or attachments of an existing task comment.
IMPORTANT LIMITATION: Comments created from incoming emails CANNOT be modified. Only regular comments can be updated.
URL Pattern Recognition: When given a Dooray task URL like "https://nhnent.dooray.com/task/PROJECT_ID/TASK_ID" or "https://nhnent.dooray.com/project/tasks/TASK_ID":
Extract the first numeric ID after "/task/" as projectId (if present)
Extract the second numeric ID (or the ID after "/tasks/") as taskId
Use get-task-comment-list to find the comment ID you want to update
REQUIRED: projectId, taskId, and commentId are all required.
Optional Parameters: You can provide either body, attachFileIds, or both. If you only want to update the text, just provide body. If you only want to update attachments, just provide attachFileIds.
File Attachments:
To attach files, first upload them using the file upload API
Then provide the returned file IDs in the attachFileIds parameter
See: https://helpdesk.dooray.com/share/pages/9wWo-xwiR66BO5LGshgVTg/2939987647631384419
Workflow:
Use get-task-comment-list to find the comment you want to update and get its ID
Call update-task-comment with the comment ID and new content/attachments
The comment will be modified immediately
Content Format:
Use "text/x-markdown" for markdown formatting (recommended)
Use "text/html" for rich HTML content
Body format: {"mimeType": "text/x-markdown", "content": "..."}
Examples:
Update comment text only: { "projectId": "123456", "taskId": "789012", "commentId": "4219415732999317024", "body": { "mimeType": "text/x-markdown", "content": "## Updated Comment\n\nThis comment has been revised" } }
Update with new attachments: { "projectId": "123456", "taskId": "789012", "commentId": "4219415732999317024", "body": { "mimeType": "text/x-markdown", "content": "See updated files" }, "attachFileIds": ["file123", "file456"] }
Returns: Success message upon completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New comment content | |
| taskId | Yes | Task ID where the comment exists | |
| commentId | Yes | Comment ID to update | |
| projectId | Yes | Project ID where the task belongs | |
| attachFileIds | No | Array of file IDs to attach (optional) |