naftiko: "1.0.0-alpha2" info: label: "Hotel Name Autocomplete — Search" description: 'Hotel Name Autocomplete — Search. 1 operation(s). Lead operation: Amadeus Returns a List of Hotels Matching a Given Keyword.. Self-contained Naftiko capability covering one Amadeus business surface.' tags: - Amadeus - Travel - Search created: "2026-05-29" modified: "2026-05-29" binds: - namespace: env keys: AMADEUS_TOKEN: AMADEUS_TOKEN capability: consumes: - type: http namespace: hotel-name-autocomplete-search baseUri: https://test.api.amadeus.com/v1 description: Hotel Name Autocomplete — Search business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.AMADEUS_TOKEN}}' resources: - name: reference-data-locations-hotel path: /reference-data/locations/hotel operations: - name: gethotels method: GET description: Amadeus Returns a List of Hotels Matching a Given Keyword. inputParameters: - name: keyword in: query type: string required: true description: Location query keyword - name: subType in: query type: array required: true description: "Category of search - To enter several values, repeat the query parameter \nUse HOTEL_LEISURE to target aggregators or HOTEL_GDS to target directly the chains" - name: countryCode in: query type: string required: false description: The country in which you search the subType. Country Code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format - name: lang in: query type: string required: false description: "The language in which you want the results in following [ISO 639-1](https://fr.wikipedia.org/wiki/Liste_des_codes_ISO_639-1). \n\nIf the language entered is not available then the results will be shown " - name: max in: query type: integer required: false description: The number of results requested from 1 to 20 outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: hotel-name-autocomplete-search-rest port: 8080 description: REST adapter for Hotel Name Autocomplete — Search. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/reference-data/locations/hotel name: reference-data-locations-hotel description: REST surface for reference-data-locations-hotel. operations: - method: GET name: gethotels description: Amadeus Returns a List of Hotels Matching a Given Keyword. call: hotel-name-autocomplete-search.gethotels with: keyword: rest.keyword subType: rest.subType countryCode: rest.countryCode lang: rest.lang max: rest.max outputParameters: - type: object mapping: $. - type: mcp namespace: hotel-name-autocomplete-search-mcp port: 9090 transport: http description: MCP adapter for Hotel Name Autocomplete — Search. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: returns-list-hotels-matching-given description: Amadeus Returns a List of Hotels Matching a Given Keyword. hints: readOnly: true destructive: false idempotent: true call: hotel-name-autocomplete-search.gethotels with: keyword: tools.keyword subType: tools.subType countryCode: tools.countryCode lang: tools.lang max: tools.max outputParameters: - type: object mapping: $.