confluence_add_comment
Add a comment to a Confluence page by providing the page ID and markdown content.
Instructions
Add a comment to a Confluence page.
Args: ctx: The FastMCP context. page_id: The ID of the page to add a comment to. content: The comment content in Markdown format.
Returns: JSON string representing the created comment.
Raises: ValueError: If in read-only mode or Confluence client is unavailable.
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>",
"content": "<content>"
},
"name": "confluence_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The comment content in Markdown format | |
| page_id | Yes | The ID of the page to add a comment to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |