Skip to main content

MCP tool: update_comment

Updates an existing comment with new content, visibility settings, or other properties. Useful for correcting typos, updating information, or changing comment visibility.

Example prompt

Input parameters

Response fields

Below are the fields you may see in the response:
FieldTypeDescription
idstringComment unique ID
contentstringUpdated plain text content of the comment
contentHtmlstringUpdated HTML formatted content
contentMarkdownstringUpdated Markdown formatted content
contentJsonstringUpdated JSON formatted content
isEditedbooleanWhether the comment has been edited
threadNamestringName of the comment thread
commentVisibilitystringUpdated visibility setting
commentTypestringUpdated type of comment
isPinnedbooleanWhether the comment is pinned
sourceEmailIdstringEmail ID if comment came from email
metadataobjectUpdated metadata (may include mentions, lastEditedAt, lastEditedBy, etc.)
createdAtstring (ISO8601)Original creation timestamp
updatedAtstring (ISO8601)Last update timestamp
authorstringAuthor display name
authorAvatarUrlstringAuthor’s avatar URL
attachmentsarrayUpdated attachment IDs
authorIdstringAuthor’s user ID
authorUserTypestringAuthor’s user type (e.g., ORG_ADMIN)
impersonatedUserEmailstringEmail of impersonated user
impersonatedUserNamestringName of impersonated user
impersonatedUserAvatarstringAvatar of impersonated user
deletedAtstringDeletion timestamp (null if not deleted)

Sample response