Atlassian · Capability

Atlassian Confluence Content Body API — Convert

Atlassian Confluence Content Body API — Convert. 2 operations. Lead operation: Atlassian Asynchronously Convert Content Body. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianConvert

What You Can Do

POST
Asynchronouslyconvertcontentbody — Atlassian Asynchronously Convert Content Body
/v1/wiki/rest/api/contentbody/convert/async/{to}
POST
Convertcontentbody — Atlassian Convert Content Body
/v1/wiki/rest/api/contentbody/convert/{to}

MCP Tools

atlassian-asynchronously-convert-content-body

Atlassian Asynchronously Convert Content Body

atlassian-convert-content-body

Atlassian Convert Content Body

Capability Spec

confluence-content-body-convert.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content Body API — Convert
  description: 'Atlassian Confluence Content Body API — Convert. 2 operations. Lead operation: Atlassian Asynchronously Convert
    Content Body. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Convert
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-content-body-convert
    baseUri: ''
    description: Atlassian Confluence Content Body API — Convert business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-contentbody-convert-async-to
      path: /wiki/rest/api/contentbody/convert/async/{to}
      operations:
      - name: asynchronouslyconvertcontentbody
        method: POST
        description: Atlassian Asynchronously Convert Content Body
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: to
          in: path
          type: string
          description: The name of the target format for the content body.
          required: true
        - name: spaceKeyContext
          in: query
          type: string
          description: The space key used for resolving embedded content (page includes,
        - name: contentIdContext
          in: query
          type: string
          description: The content ID used to find the space for resolving embedded content
        - name: allowCache
          in: query
          type: boolean
          description: If this field is false, the cache will erase its current value and begin a new conversion.
        - name: embeddedContentRender
          in: query
          type: string
          description: Mode used for rendering embedded content, like attachments.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wiki-rest-api-contentbody-convert-to
      path: /wiki/rest/api/contentbody/convert/{to}
      operations:
      - name: convertcontentbody
        method: POST
        description: Atlassian Convert Content Body
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: to
          in: path
          type: string
          description: The name of the target format for the content body.
          required: true
        - name: spaceKeyContext
          in: query
          type: string
          description: The space key used for resolving embedded content (page includes,
        - name: contentIdContext
          in: query
          type: string
          description: The content ID used to find the space for resolving embedded content
        - name: embeddedContentRender
          in: query
          type: string
          description: Mode used for rendering embedded content, like attachments.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: confluence-content-body-convert-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content Body API — Convert. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/contentbody/convert/async/{to}
      name: wiki-rest-api-contentbody-convert-async-to
      description: REST surface for wiki-rest-api-contentbody-convert-async-to.
      operations:
      - method: POST
        name: asynchronouslyconvertcontentbody
        description: Atlassian Asynchronously Convert Content Body
        call: confluence-content-body-convert.asynchronouslyconvertcontentbody
        with:
          to: rest.to
          spaceKeyContext: rest.spaceKeyContext
          contentIdContext: rest.contentIdContext
          allowCache: rest.allowCache
          embeddedContentRender: rest.embeddedContentRender
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/contentbody/convert/{to}
      name: wiki-rest-api-contentbody-convert-to
      description: REST surface for wiki-rest-api-contentbody-convert-to.
      operations:
      - method: POST
        name: convertcontentbody
        description: Atlassian Convert Content Body
        call: confluence-content-body-convert.convertcontentbody
        with:
          to: rest.to
          spaceKeyContext: rest.spaceKeyContext
          contentIdContext: rest.contentIdContext
          embeddedContentRender: rest.embeddedContentRender
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-body-convert-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content Body API — Convert. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-asynchronously-convert-content-body
      description: Atlassian Asynchronously Convert Content Body
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: confluence-content-body-convert.asynchronouslyconvertcontentbody
      with:
        to: tools.to
        spaceKeyContext: tools.spaceKeyContext
        contentIdContext: tools.contentIdContext
        allowCache: tools.allowCache
        embeddedContentRender: tools.embeddedContentRender
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-convert-content-body
      description: Atlassian Convert Content Body
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: confluence-content-body-convert.convertcontentbody
      with:
        to: tools.to
        spaceKeyContext: tools.spaceKeyContext
        contentIdContext: tools.contentIdContext
        embeddedContentRender: tools.embeddedContentRender
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.