add_confluence_comment
Add comments to Confluence pages or reply to existing comments using page ID and comment text, with optional parent comment ID.
Instructions
Adds a comment to a Confluence page. Can also be used to reply to an existing comment.
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": {
"pageId": "<pageId>",
"content": "<content>"
},
"name": "add_confluence_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The ID of the page to which the comment should be added. | |
| content | Yes | The text of the comment. Can be plain text or Confluence storage format (XHTML). | |
| parentCommentId | No | The ID of an existing comment to which this comment should be a reply. Optional. |