MCP tool: create_ticket_comment
Adds a comment to a ticket in the Thena platform. Useful for collaboration, support, and ticket updates.
Example prompt
Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID of the ticket to comment on |
| content | string | Yes | The content of the comment |
| contentHtml | string | No | The HTML content of the comment |
| contentJson | string | No | The JSON content of the comment |
| threadName | string | No | The name of the comment thread |
| parentCommentId | string | No | The ID of the parent comment |
| commentVisibility | string | No | Comment visibility (e.g., “public”) |
| commentType | string | No | Type of comment (e.g., “comment”) |
| customerEmail | string | No | The email of the customer |
| metadata | object | No | Additional metadata |
| attachmentIds | string[] | No | IDs of attachments |
| impersonatedUserEmail | string | No | Email of impersonated user |
| impersonatedUserName | string | No | Name of impersonated user |
| impersonatedUserAvatar | string | No | Avatar of impersonated user |
| shouldSendEmail | boolean | No | Whether to send an email notification |
| createdAt | string | No | Creation timestamp (ISO8601) |
Response fields
Below are the fields you may see in the response:| Field | Type | Description |
|---|---|---|
| id | string | Comment unique ID |
| content | string | Comment text |
| contentHtml | string | HTML content |
| contentMarkdown | string | Markdown content |
| contentJson | string | JSON content |
| isEdited | boolean | Whether the comment was edited |
| threadName | string | Thread name |
| commentVisibility | string | Comment visibility |
| commentType | string | Type of comment |
| isPinned | boolean | Whether the comment is pinned |
| sourceEmailId | string | Source email ID |
| metadata | object | Metadata (e.g., mentions) |
| createdAt | string | Creation timestamp (ISO8601) |
| updatedAt | string | Last update timestamp (ISO8601) |
| author | string | Author username or email |
| authorAvatarUrl | string | Author avatar URL |
| attachments | array | List of attachment objects |
| authorId | string | Author user ID |
| authorUserType | string | Author user type (e.g., “ORG_ADMIN”) |
| impersonatedUserEmail | string | Impersonated user email |
| impersonatedUserName | string | Impersonated user name |
| impersonatedUserAvatar | string | Impersonated user avatar |
| deletedAt | string | Deletion timestamp (if deleted) |
| Field | Type | Description |
|---|---|---|
| data | object | The created comment object |
| status | boolean | Whether the creation succeeded |
| message | string | Status message |
| timestamp | string | Time the response was generated (ISO8601) |