atlassian-mcp__confluence_add_comment
Add a comment to a Confluence page: a footer comment on the page, an inline comment anchored to a piece of the page's text with inline_text, or a reply to an existing footer or inline comment with parent_comment_id. A reply goes into the same kind of thread as the comment it answers. An inline_text that does not appear in the page is refused before anything is posted; when it appears more than once, inline_match picks which. Returns the new comment's ID, version, type and parent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"body": "<body>"
},
"name": "atlassian-mcp__confluence_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text (plain text; will be wrapped in <p> tags automatically). | |
| account | No | Optional email address of the connected account to use (e.g. 'user@gmail.com'). If omitted, the default account is used. | |
| page_id | Yes | The ID of the page to comment on. | |
| inline_text | No | Optional text on the page to anchor an inline comment to, exactly as it reads on the page. Not used with parent_comment_id. | |
| inline_match | No | Which occurrence of inline_text to anchor to, counting from 1, when it appears more than once (default 1). | |
| parent_comment_id | No | Optional ID of an existing comment, footer or inline, to reply to. |