Create Comment
kaiten_create_commentAdd a comment to a Kaiten card, specifying markdown or HTML text format. Pass textFormat 'html' for HTML to render correctly instead of showing literal tags.
Instructions
Add a comment to a card. Markdown by default — if you are sending HTML, also pass textFormat: 'html' so Kaiten stores and renders the comment as HTML. Without that hint, raw HTML shows up in the UI as literal angle brackets. QUIRK: Kaiten's comment markdown parser is a CommonMark subset and does NOT support ATX headings (### Header) — they render as literal text. Bold, italic, lists, inline code, code blocks, links and blockquotes all work. Card DESCRIPTION markdown does support headings — the limitation is comment-specific. Use plain bold or switch to HTML if you need a heading inside a comment. Resolve cardId via kaiten_search_cards or kaiten_get_card; list existing comments via kaiten_get_card_comments. Returns: the created comment object (including its id, needed for kaiten_update_comment / kaiten_delete_comment).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Comment body. Markdown by default — pass `textFormat: 'html'` if you're sending HTML. Note: heading syntax (`### Header`) is NOT supported in comment markdown — render as literal text. Bold/list/code/link/blockquote work. | |
| cardId | Yes | Card ID (from kaiten_search_cards or kaiten_get_card) | |
| verbosity | No | Detail: raw|min(default)|normal|max | min |
| textFormat | No | Hint to Kaiten about the format of `text`. Default = 'markdown' (Kaiten's own default). Set to 'html' if you are sending HTML — Kaiten will then store and render the comment as HTML. Without this hint, raw HTML in a comment shows up in the UI as literal angle brackets. Maps to API field `type` (1=markdown, 2=html). (jira_wiki is not supported for comments.) |