naftiko: 1.0.0-alpha2 info: label: Climatiq API — Travel description: 'Climatiq API — Travel. 3 operations. Lead operation: Estimate car travel emissions. Self-contained Naftiko capability covering one Climatiq business surface.' tags: - Climatiq - Travel created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLIMATIQ_API_KEY: CLIMATIQ_API_KEY capability: consumes: - type: http namespace: climatiq-travel baseUri: https://api.climatiq.io description: Climatiq API — Travel business capability. Self-contained, no shared references. resources: - name: travel-v1-car path: /travel/v1/car operations: - name: estimatetravelcar method: POST description: Estimate car travel emissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: travel-v1-flight path: /travel/v1/flight operations: - name: estimatetravelflight method: POST description: Estimate flight emissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: travel-v1-hotel path: /travel/v1/hotel operations: - name: estimatetravelhotel method: POST description: Estimate hotel stay 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-travel-rest port: 8080 description: REST adapter for Climatiq API — Travel. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/travel/v1/car name: travel-v1-car description: REST surface for travel-v1-car. operations: - method: POST name: estimatetravelcar description: Estimate car travel emissions call: climatiq-travel.estimatetravelcar with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/travel/v1/flight name: travel-v1-flight description: REST surface for travel-v1-flight. operations: - method: POST name: estimatetravelflight description: Estimate flight emissions call: climatiq-travel.estimatetravelflight with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/travel/v1/hotel name: travel-v1-hotel description: REST surface for travel-v1-hotel. operations: - method: POST name: estimatetravelhotel description: Estimate hotel stay emissions call: climatiq-travel.estimatetravelhotel with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: climatiq-travel-mcp port: 9090 transport: http description: MCP adapter for Climatiq API — Travel. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: estimate-car-travel-emissions description: Estimate car travel emissions hints: readOnly: false destructive: false idempotent: false call: climatiq-travel.estimatetravelcar with: body: tools.body outputParameters: - type: object mapping: $. - name: estimate-flight-emissions description: Estimate flight emissions hints: readOnly: false destructive: false idempotent: false call: climatiq-travel.estimatetravelflight with: body: tools.body outputParameters: - type: object mapping: $. - name: estimate-hotel-stay-emissions description: Estimate hotel stay emissions hints: readOnly: false destructive: false idempotent: false call: climatiq-travel.estimatetravelhotel with: body: tools.body outputParameters: - type: object mapping: $.