Amadeus · Capability

Airport Nearest Relevant — Location

Airport Nearest Relevant — Location. 1 operation(s). Lead operation: Amadeus Returns a List of Relevant Airports Near to a Given Point.. Self-contained Naftiko capability covering one Amadeus business surface.

Run with Naftiko AmadeusTravelLocation

What You Can Do

GET
Getnearestrelevantairports — Amadeus Returns a List of Relevant Airports Near to a Given Point.
/v1/reference-data/locations/airports

MCP Tools

returns-list-relevant-airports-near

Amadeus Returns a List of Relevant Airports Near to a Given Point.

read-only idempotent

Capability Spec

airport-nearest-relevant-location.yaml Raw ↑
naftiko: "1.0.0-alpha2"
info:
  label: "Airport Nearest Relevant — Location"
  description: 'Airport Nearest Relevant — Location. 1 operation(s). Lead operation: Amadeus Returns a List of Relevant Airports Near to a Given Point.. Self-contained Naftiko capability covering one Amadeus business surface.'
  tags:
    - Amadeus
    - Travel
    - Location
  created: "2026-05-29"
  modified: "2026-05-29"
binds:
  - namespace: env
    keys:
      AMADEUS_TOKEN: AMADEUS_TOKEN
capability:
  consumes:
    - type: http
      namespace: airport-nearest-relevant-location
      baseUri: https://test.api.amadeus.com/v1
      description: Airport Nearest Relevant — Location business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.AMADEUS_TOKEN}}'
      resources:
        - name: reference-data-locations-airports
          path: /reference-data/locations/airports
          operations:
            - name: getNearestRelevantAirports
              method: GET
              description: Amadeus Returns a List of Relevant Airports Near to a Given Point.
              inputParameters:
                - name: latitude
                  in: query
                  type: number
                  required: true
                  description: latitude location to be at the center of the search circle
                - name: longitude
                  in: query
                  type: number
                  required: true
                  description: longitude location to be at the center of the search circle
                - name: radius
                  in: query
                  type: integer
                  required: false
                  description: radius of the search in Kilometer. Can be from 0 to 500, default value is 500 Km.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: airport-nearest-relevant-location-rest
      port: 8080
      description: REST adapter for Airport Nearest Relevant — Location. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/reference-data/locations/airports
          name: reference-data-locations-airports
          description: REST surface for reference-data-locations-airports.
          operations:
            - method: GET
              name: getNearestRelevantAirports
              description: Amadeus Returns a List of Relevant Airports Near to a Given Point.
              call: airport-nearest-relevant-location.getNearestRelevantAirports
              with:
                latitude: rest.latitude
                longitude: rest.longitude
                radius: rest.radius
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: airport-nearest-relevant-location-mcp
      port: 9090
      transport: http
      description: MCP adapter for Airport Nearest Relevant — Location. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: returns-list-relevant-airports-near
          description: Amadeus Returns a List of Relevant Airports Near to a Given Point.
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: airport-nearest-relevant-location.getNearestRelevantAirports
          with:
            latitude: tools.latitude
            longitude: tools.longitude
            radius: tools.radius
          outputParameters:
            - type: object
              mapping: $.