Amadeus · Capability

Airline Routes — Destinations

Airline Routes — Destinations. 1 operation(s). Lead operation: Amadeus Get Airline Destinations. Self-contained Naftiko capability covering one Amadeus business surface.

Run with Naftiko AmadeusTravelDestinations

What You Can Do

GET
Airline/destinations — Amadeus Get Airline Destinations
/v1/airline/destinations

MCP Tools

get-airline-destinations

Amadeus Get Airline Destinations

read-only idempotent

Capability Spec

airline-routes-destinations.yaml Raw ↑
naftiko: "1.0.0-alpha2"
info:
  label: "Airline Routes — Destinations"
  description: 'Airline Routes — Destinations. 1 operation(s). Lead operation: Amadeus Get Airline Destinations. Self-contained Naftiko capability covering one Amadeus business surface.'
  tags:
    - Amadeus
    - Travel
    - Destinations
  created: "2026-05-29"
  modified: "2026-05-29"
binds:
  - namespace: env
    keys:
      AMADEUS_TOKEN: AMADEUS_TOKEN
capability:
  consumes:
    - type: http
      namespace: airline-routes-destinations
      baseUri: https://test.api.amadeus.com/v1
      description: Airline Routes — Destinations business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.AMADEUS_TOKEN}}'
      resources:
        - name: airline-destinations
          path: /airline/destinations
          operations:
            - name: airline/destinations
              method: GET
              description: Amadeus Get Airline Destinations
              inputParameters:
                - name: airlineCode
                  in: query
                  type: string
                  required: true
                  description: Airline code following [IATA standard](http://www.iata.org/publications/Pages/code-search.aspx)
                - name: max
                  in: query
                  type: integer
                  required: false
                  description: Maximum number of destinations in the response.
                - name: arrivalCountryCode
                  in: query
                  type: string
                  required: false
                  description: Arrival country code following [IATA standard](http://www.iata.org/publications/Pages/code-search.aspx), to filter the list of destinations
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: airline-routes-destinations-rest
      port: 8080
      description: REST adapter for Airline Routes — Destinations. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/airline/destinations
          name: airline-destinations
          description: REST surface for airline-destinations.
          operations:
            - method: GET
              name: airline/destinations
              description: Amadeus Get Airline Destinations
              call: airline-routes-destinations.airline/destinations
              with:
                airlineCode: rest.airlineCode
                max: rest.max
                arrivalCountryCode: rest.arrivalCountryCode
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: airline-routes-destinations-mcp
      port: 9090
      transport: http
      description: MCP adapter for Airline Routes — Destinations. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: get-airline-destinations
          description: Amadeus Get Airline Destinations
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: airline-routes-destinations.airline/destinations
          with:
            airlineCode: tools.airlineCode
            max: tools.max
            arrivalCountryCode: tools.arrivalCountryCode
          outputParameters:
            - type: object
              mapping: $.