naftiko: 1.0.0-alpha2 info: label: Oracle Cloud Compute API — Volume Attachments description: 'Oracle Cloud Compute API — Volume Attachments. 3 operations. Lead operation: Oracle Cloud List Volume Attachments. Self-contained Naftiko capability covering one Oracle Cloud business surface.' tags: - Oracle Cloud - Volume Attachments 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-volume-attachments baseUri: https://iaas.{region}.oraclecloud.com/20160918 description: Oracle Cloud Compute API — Volume Attachments business capability. Self-contained, no shared references. resources: - name: volumeAttachments path: /volumeAttachments operations: - name: listvolumeattachments method: GET description: Oracle Cloud List Volume Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: compartmentId in: query type: string description: The OCID of the compartment. required: true - name: instanceId in: query type: string description: The OCID of the instance. - name: limit in: query type: integer description: Maximum number of items to return. - name: attachvolume method: POST description: Oracle Cloud Attach Volume outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: volumeAttachments-volumeAttachmentId path: /volumeAttachments/{volumeAttachmentId} operations: - name: detachvolume method: DELETE description: Oracle Cloud Detach Volume outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: volumeAttachmentId in: path type: string description: The OCID of the volume attachment. required: true authentication: type: bearer token: '{{env.ORACLE_CLOUD_API_KEY}}' exposes: - type: rest namespace: compute-volume-attachments-rest port: 8080 description: REST adapter for Oracle Cloud Compute API — Volume Attachments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/volumeattachments name: volumeattachments description: REST surface for volumeAttachments. operations: - method: GET name: listvolumeattachments description: Oracle Cloud List Volume Attachments call: compute-volume-attachments.listvolumeattachments with: compartmentId: rest.compartmentId instanceId: rest.instanceId limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: attachvolume description: Oracle Cloud Attach Volume call: compute-volume-attachments.attachvolume with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/volumeattachments/{volumeattachmentid} name: volumeattachments-volumeattachmentid description: REST surface for volumeAttachments-volumeAttachmentId. operations: - method: DELETE name: detachvolume description: Oracle Cloud Detach Volume call: compute-volume-attachments.detachvolume with: volumeAttachmentId: rest.volumeAttachmentId outputParameters: - type: object mapping: $. - type: mcp namespace: compute-volume-attachments-mcp port: 9090 transport: http description: MCP adapter for Oracle Cloud Compute API — Volume Attachments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: oracle-cloud-list-volume-attachments description: Oracle Cloud List Volume Attachments hints: readOnly: true destructive: false idempotent: true call: compute-volume-attachments.listvolumeattachments with: compartmentId: tools.compartmentId instanceId: tools.instanceId limit: tools.limit outputParameters: - type: object mapping: $. - name: oracle-cloud-attach-volume description: Oracle Cloud Attach Volume hints: readOnly: false destructive: false idempotent: false call: compute-volume-attachments.attachvolume with: body: tools.body outputParameters: - type: object mapping: $. - name: oracle-cloud-detach-volume description: Oracle Cloud Detach Volume hints: readOnly: false destructive: true idempotent: true call: compute-volume-attachments.detachvolume with: volumeAttachmentId: tools.volumeAttachmentId outputParameters: - type: object mapping: $.