Oracle Cloud Compute API — Images

Oracle Cloud Compute API — Images. 2 operations. Lead operation: Oracle Cloud List Images. Self-contained Naftiko capability covering one Oracle Cloud business surface.

Run with Naftiko Oracle CloudImages

What You Can Do

GET
Listimages — Oracle Cloud List Images
/v1/images
GET
Getimage — Oracle Cloud Get Image
/v1/images/{imageid}

MCP Tools

oracle-cloud-list-images

Oracle Cloud List Images

read-only idempotent
oracle-cloud-get-image

Oracle Cloud Get Image

read-only idempotent

Capability Spec

compute-images.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Oracle Cloud Compute API — Images
  description: 'Oracle Cloud Compute API — Images. 2 operations. Lead operation: Oracle Cloud List Images. Self-contained
    Naftiko capability covering one Oracle Cloud business surface.'
  tags:
  - Oracle Cloud
  - Images
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORACLE_CLOUD_API_KEY: ORACLE_CLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: compute-images
    baseUri: https://iaas.{region}.oraclecloud.com/20160918
    description: Oracle Cloud Compute API — Images business capability. Self-contained, no shared references.
    resources:
    - name: images
      path: /images
      operations:
      - name: listimages
        method: GET
        description: Oracle Cloud List Images
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: compartmentId
          in: query
          type: string
          description: The OCID of the compartment.
          required: true
        - name: operatingSystem
          in: query
          type: string
          description: The image operating system.
        - name: limit
          in: query
          type: integer
          description: Maximum number of items to return.
        - name: page
          in: query
          type: string
          description: Pagination token.
    - name: images-imageId
      path: /images/{imageId}
      operations:
      - name: getimage
        method: GET
        description: Oracle Cloud Get Image
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: imageId
          in: path
          type: string
          description: The OCID of the image.
          required: true
    authentication:
      type: bearer
      token: '{{env.ORACLE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: compute-images-rest
    port: 8080
    description: REST adapter for Oracle Cloud Compute API — Images. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/images
      name: images
      description: REST surface for images.
      operations:
      - method: GET
        name: listimages
        description: Oracle Cloud List Images
        call: compute-images.listimages
        with:
          compartmentId: rest.compartmentId
          operatingSystem: rest.operatingSystem
          limit: rest.limit
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/images/{imageid}
      name: images-imageid
      description: REST surface for images-imageId.
      operations:
      - method: GET
        name: getimage
        description: Oracle Cloud Get Image
        call: compute-images.getimage
        with:
          imageId: rest.imageId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compute-images-mcp
    port: 9090
    transport: http
    description: MCP adapter for Oracle Cloud Compute API — Images. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: oracle-cloud-list-images
      description: Oracle Cloud List Images
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-images.listimages
      with:
        compartmentId: tools.compartmentId
        operatingSystem: tools.operatingSystem
        limit: tools.limit
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-cloud-get-image
      description: Oracle Cloud Get Image
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-images.getimage
      with:
        imageId: tools.imageId
      outputParameters:
      - type: object
        mapping: $.