naftiko: 1.0.0-alpha2 info: label: Oracle Fusion Cloud Applications Oracle Fusion CX Sales and Fusion Service REST API — Opportunities description: 'Oracle Fusion Cloud Applications Oracle Fusion CX Sales and Fusion Service REST API — Opportunities. 4 operations. Lead operation: Oracle Fusion Cloud Applications List opportunities. Self-contained Naftiko capability covering one Oracle Fusion business surface.' tags: - Oracle Fusion - Opportunities created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORACLE_FUSION_API_KEY: ORACLE_FUSION_API_KEY capability: consumes: - type: http namespace: cx-sales-opportunities baseUri: https://{instance}.oraclecloud.com description: Oracle Fusion Cloud Applications Oracle Fusion CX Sales and Fusion Service REST API — Opportunities business capability. Self-contained, no shared references. resources: - name: crmRestApi-resources-11.13.18.05-opportunities path: /crmRestApi/resources/11.13.18.05/opportunities operations: - name: listopportunities method: GET description: Oracle Fusion Cloud Applications List opportunities outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createopportunity method: POST description: Oracle Fusion Cloud Applications Create an opportunity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crmRestApi-resources-11.13.18.05-opportunities-OptyNumber path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber} operations: - name: getopportunity method: GET description: Oracle Fusion Cloud Applications Get an opportunity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: OptyNumber in: path type: string description: Opportunity number required: true - name: updateopportunity method: PATCH description: Oracle Fusion Cloud Applications Update an opportunity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: OptyNumber in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.ORACLE_FUSION_API_KEY}}' exposes: - type: rest namespace: cx-sales-opportunities-rest port: 8080 description: REST adapter for Oracle Fusion Cloud Applications Oracle Fusion CX Sales and Fusion Service REST API — Opportunities. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crmrestapi/resources/11-13-18-05/opportunities name: crmrestapi-resources-11-13-18-05-opportunities description: REST surface for crmRestApi-resources-11.13.18.05-opportunities. operations: - method: GET name: listopportunities description: Oracle Fusion Cloud Applications List opportunities call: cx-sales-opportunities.listopportunities outputParameters: - type: object mapping: $. - method: POST name: createopportunity description: Oracle Fusion Cloud Applications Create an opportunity call: cx-sales-opportunities.createopportunity with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crmrestapi/resources/11-13-18-05/opportunities/{optynumber} name: crmrestapi-resources-11-13-18-05-opportunities-optynumber description: REST surface for crmRestApi-resources-11.13.18.05-opportunities-OptyNumber. operations: - method: GET name: getopportunity description: Oracle Fusion Cloud Applications Get an opportunity call: cx-sales-opportunities.getopportunity with: OptyNumber: rest.OptyNumber outputParameters: - type: object mapping: $. - method: PATCH name: updateopportunity description: Oracle Fusion Cloud Applications Update an opportunity call: cx-sales-opportunities.updateopportunity with: OptyNumber: rest.OptyNumber body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cx-sales-opportunities-mcp port: 9090 transport: http description: MCP adapter for Oracle Fusion Cloud Applications Oracle Fusion CX Sales and Fusion Service REST API — Opportunities. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: oracle-fusion-cloud-applications-list description: Oracle Fusion Cloud Applications List opportunities hints: readOnly: true destructive: false idempotent: true call: cx-sales-opportunities.listopportunities outputParameters: - type: object mapping: $. - name: oracle-fusion-cloud-applications-create description: Oracle Fusion Cloud Applications Create an opportunity hints: readOnly: false destructive: false idempotent: false call: cx-sales-opportunities.createopportunity with: body: tools.body outputParameters: - type: object mapping: $. - name: oracle-fusion-cloud-applications-get description: Oracle Fusion Cloud Applications Get an opportunity hints: readOnly: true destructive: false idempotent: true call: cx-sales-opportunities.getopportunity with: OptyNumber: tools.OptyNumber outputParameters: - type: object mapping: $. - name: oracle-fusion-cloud-applications-update description: Oracle Fusion Cloud Applications Update an opportunity hints: readOnly: false destructive: false idempotent: true call: cx-sales-opportunities.updateopportunity with: OptyNumber: tools.OptyNumber body: tools.body outputParameters: - type: object mapping: $.