confluence_comment_add_inline
Post a markdown comment anchored to a specific text selection on a Confluence page. Provide the exact anchor text and comment body as inline markdown or from a file.
Instructions
Post a markdown comment anchored to a text selection on a Confluence page (an inline comment). For a page-level comment not tied to any text, use confluence_comment_add instead. Supply the body as content (inline) OR content_path (a filesystem path the server reads) — not both. anchor_text must match the on-page text exactly; if it appears multiple times, pass match_index (1-based) to pick which occurrence. Errors if the anchor does not match or match_index is out of range. Mirrors omni-dev atlassian confluence comment add-inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Confluence page ID. | |
| content | No | Markdown content of the comment body. Converted to ADF before posting. Mutually exclusive with `content_path`; exactly one is required. | |
| anchor_text | Yes | Exact text on the page that the comment should anchor to. | |
| match_index | No | 1-based occurrence to anchor to when `anchor_text` appears more than once on the page. Required for ambiguous anchors; rejected if out of range. | |
| content_path | No | Filesystem path the server reads the comment body from, instead of `content`. Prefer this when the body is already on disk. Mutually exclusive with `content`. |