Confluence add comment

confluence__add_comment

Access

Requires a project integration connection for confluence.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
cloudIdstringYesAtlassian cloud ID from accessible-resources
typestringNoContent type; must be 'comment'
containerobjectYesParent content, e.g. {id: '<pageId>', type: 'page'}
bodyobjectYesComment body, e.g. {storage: {value: '<p>comment</p>', representation: 'storage'}}

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "confluence__add_comment",
    "arguments": {
      "cloudId": "example",
      "container": {},
      "body": {}
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the confluence integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "cloudId": {
      "type": "string",
      "description": "Atlassian cloud ID from accessible-resources"
    },
    "type": {
      "type": "string",
      "description": "Content type; must be 'comment'"
    },
    "container": {
      "type": "object",
      "description": "Parent content, e.g. {id: '<pageId>', type: 'page'}"
    },
    "body": {
      "type": "object",
      "description": "Comment body, e.g. {storage: {value: '<p>comment</p>', representation: 'storage'}}"
    }
  },
  "required": [
    "cloudId",
    "container",
    "body"
  ],
  "description": "Arguments for the confluence__add_comment tool."
}