naftiko: 1.0.0-alpha2 info: label: Climatiq API — Computing description: 'Climatiq API — Computing. 3 operations. Lead operation: Estimate cloud CPU emissions. Self-contained Naftiko capability covering one Climatiq business surface.' tags: - Climatiq - Computing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLIMATIQ_API_KEY: CLIMATIQ_API_KEY capability: consumes: - type: http namespace: climatiq-computing baseUri: https://api.climatiq.io description: Climatiq API — Computing business capability. Self-contained, no shared references. resources: - name: compute-v1-cpu path: /compute/v1/cpu operations: - name: estimatecloudcpu method: POST description: Estimate cloud CPU emissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: compute-v1-memory path: /compute/v1/memory operations: - name: estimatecloudmemory method: POST description: Estimate cloud memory emissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: compute-v1-storage path: /compute/v1/storage operations: - name: estimatecloudstorage method: POST description: Estimate cloud storage emissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.CLIMATIQ_API_KEY}}' exposes: - type: rest namespace: climatiq-computing-rest port: 8080 description: REST adapter for Climatiq API — Computing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/compute/v1/cpu name: compute-v1-cpu description: REST surface for compute-v1-cpu. operations: - method: POST name: estimatecloudcpu description: Estimate cloud CPU emissions call: climatiq-computing.estimatecloudcpu with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/compute/v1/memory name: compute-v1-memory description: REST surface for compute-v1-memory. operations: - method: POST name: estimatecloudmemory description: Estimate cloud memory emissions call: climatiq-computing.estimatecloudmemory with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/compute/v1/storage name: compute-v1-storage description: REST surface for compute-v1-storage. operations: - method: POST name: estimatecloudstorage description: Estimate cloud storage emissions call: climatiq-computing.estimatecloudstorage with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: climatiq-computing-mcp port: 9090 transport: http description: MCP adapter for Climatiq API — Computing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: estimate-cloud-cpu-emissions description: Estimate cloud CPU emissions hints: readOnly: false destructive: false idempotent: false call: climatiq-computing.estimatecloudcpu with: body: tools.body outputParameters: - type: object mapping: $. - name: estimate-cloud-memory-emissions description: Estimate cloud memory emissions hints: readOnly: false destructive: false idempotent: false call: climatiq-computing.estimatecloudmemory with: body: tools.body outputParameters: - type: object mapping: $. - name: estimate-cloud-storage-emissions description: Estimate cloud storage emissions hints: readOnly: false destructive: false idempotent: false call: climatiq-computing.estimatecloudstorage with: body: tools.body outputParameters: - type: object mapping: $.