Oracle Cloud Compute API — Shapes

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

Run with Naftiko Oracle CloudShapes

What You Can Do

GET
Listshapes — Oracle Cloud List Shapes
/v1/shapes

MCP Tools

oracle-cloud-list-shapes

Oracle Cloud List Shapes

read-only idempotent

Capability Spec

compute-shapes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Oracle Cloud Compute API — Shapes
  description: 'Oracle Cloud Compute API — Shapes. 1 operations. Lead operation: Oracle Cloud List Shapes. Self-contained
    Naftiko capability covering one Oracle Cloud business surface.'
  tags:
  - Oracle Cloud
  - Shapes
  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-shapes
    baseUri: https://iaas.{region}.oraclecloud.com/20160918
    description: Oracle Cloud Compute API — Shapes business capability. Self-contained, no shared references.
    resources:
    - name: shapes
      path: /shapes
      operations:
      - name: listshapes
        method: GET
        description: Oracle Cloud List Shapes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: compartmentId
          in: query
          type: string
          description: The OCID of the compartment.
          required: true
        - name: limit
          in: query
          type: integer
          description: Maximum number of items to return.
        - name: page
          in: query
          type: string
          description: Pagination token.
    authentication:
      type: bearer
      token: '{{env.ORACLE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: compute-shapes-rest
    port: 8080
    description: REST adapter for Oracle Cloud Compute API — Shapes. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/shapes
      name: shapes
      description: REST surface for shapes.
      operations:
      - method: GET
        name: listshapes
        description: Oracle Cloud List Shapes
        call: compute-shapes.listshapes
        with:
          compartmentId: rest.compartmentId
          limit: rest.limit
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compute-shapes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Oracle Cloud Compute API — Shapes. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: oracle-cloud-list-shapes
      description: Oracle Cloud List Shapes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-shapes.listshapes
      with:
        compartmentId: tools.compartmentId
        limit: tools.limit
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.