MCP tool to update an existing comment in the Thena platform.
update_comment
Name | Type | Required | Description |
---|---|---|---|
commentId | string | Yes | The ID of the comment to update |
content | string | Yes | The updated content of the comment (1-5000 chars) |
contentHtml | string | No | The updated HTML content of the comment (max 5000 chars) |
contentJson | string | No | The updated JSON content of the comment |
threadName | string | No | The updated name of the comment thread |
commentVisibility | enum | No | The visibility of the comment (“public” or “private”) |
commentType | enum | No | The type of the comment (“comment” or “note”) |
isPinned | boolean | No | Whether the comment is pinned |
preserveMentions | boolean | No | Whether to preserve mentions when updating content |
attachments | string[] | No | The attachments of the comment |
commentAs | string | No | The comment as a string |
metadata | object | No | The updated metadata of the comment |
updatedAt | string | No | The update timestamp |
Field | Type | Description |
---|---|---|
id | string | Comment unique ID |
content | string | Updated plain text content of the comment |
contentHtml | string | Updated HTML formatted content |
contentMarkdown | string | Updated Markdown formatted content |
contentJson | string | Updated JSON formatted content |
isEdited | boolean | Whether the comment has been edited |
threadName | string | Name of the comment thread |
commentVisibility | string | Updated visibility setting |
commentType | string | Updated type of comment |
isPinned | boolean | Whether the comment is pinned |
sourceEmailId | string | Email ID if comment came from email |
metadata | object | Updated metadata (may include mentions, lastEditedAt, lastEditedBy, etc.) |
createdAt | string (ISO8601) | Original creation timestamp |
updatedAt | string (ISO8601) | Last update timestamp |
author | string | Author display name |
authorAvatarUrl | string | Author’s avatar URL |
attachments | array | Updated attachment IDs |
authorId | string | Author’s user ID |
authorUserType | string | Author’s user type (e.g., ORG_ADMIN) |
impersonatedUserEmail | string | Email of impersonated user |
impersonatedUserName | string | Name of impersonated user |
impersonatedUserAvatar | string | Avatar of impersonated user |
deletedAt | string | Deletion timestamp (null if not deleted) |