naftiko: 1.0.0-alpha2 info: label: CAST AI Kubernetes Cost Optimization API — Operations description: 'CAST AI Kubernetes Cost Optimization API — Operations. 1 operations. Lead operation: CAST AI Get operation. Self-contained Naftiko capability covering one Cast Ai business surface.' tags: - Cast Ai - Operations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CAST_AI_API_KEY: CAST_AI_API_KEY capability: consumes: - type: http namespace: kubernetes-cost-optimization-operations baseUri: https://api.cast.ai/v1 description: CAST AI Kubernetes Cost Optimization API — Operations business capability. Self-contained, no shared references. resources: - name: operations-operationId path: /operations/{operationId} operations: - name: operationsapigetoperation method: GET description: CAST AI Get operation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: operationId in: path type: string required: true authentication: type: apikey key: X-API-Key value: '{{env.CAST_AI_API_KEY}}' placement: header exposes: - type: rest namespace: kubernetes-cost-optimization-operations-rest port: 8080 description: REST adapter for CAST AI Kubernetes Cost Optimization API — Operations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/operations/{operationid} name: operations-operationid description: REST surface for operations-operationId. operations: - method: GET name: operationsapigetoperation description: CAST AI Get operation call: kubernetes-cost-optimization-operations.operationsapigetoperation with: operationId: rest.operationId outputParameters: - type: object mapping: $. - type: mcp namespace: kubernetes-cost-optimization-operations-mcp port: 9090 transport: http description: MCP adapter for CAST AI Kubernetes Cost Optimization API — Operations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cast-ai-get-operation description: CAST AI Get operation hints: readOnly: true destructive: false idempotent: true call: kubernetes-cost-optimization-operations.operationsapigetoperation with: operationId: tools.operationId outputParameters: - type: object mapping: $.