naftiko: 1.0.0-alpha2 info: label: Tripadvisor Hotel Availability Check API — Hotel Inventory description: 'Tripadvisor Hotel Availability Check API — Hotel Inventory. 1 operations. Lead operation: Get Hotel Inventory. Self-contained Naftiko capability covering one Tripadvisor business surface.' tags: - Tripadvisor - Hotel Inventory created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TRIPADVISOR_API_KEY: TRIPADVISOR_API_KEY capability: consumes: - type: http namespace: hotel-availability-check-hotel-inventory baseUri: https://{partnerEndpoint} description: Tripadvisor Hotel Availability Check API — Hotel Inventory business capability. Self-contained, no shared references. resources: - name: hotel_inventory path: /hotel_inventory operations: - name: gethotelinventory method: GET description: Get Hotel Inventory outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: inventory_type in: query type: string description: The type of inventory integration. exposes: - type: rest namespace: hotel-availability-check-hotel-inventory-rest port: 8080 description: REST adapter for Tripadvisor Hotel Availability Check API — Hotel Inventory. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/hotel-inventory name: hotel-inventory description: REST surface for hotel_inventory. operations: - method: GET name: gethotelinventory description: Get Hotel Inventory call: hotel-availability-check-hotel-inventory.gethotelinventory with: inventory_type: rest.inventory_type outputParameters: - type: object mapping: $. - type: mcp namespace: hotel-availability-check-hotel-inventory-mcp port: 9090 transport: http description: MCP adapter for Tripadvisor Hotel Availability Check API — Hotel Inventory. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-hotel-inventory description: Get Hotel Inventory hints: readOnly: true destructive: false idempotent: true call: hotel-availability-check-hotel-inventory.gethotelinventory with: inventory_type: tools.inventory_type outputParameters: - type: object mapping: $.