Amadeus · Capability

Hotel Booking — Booking

Hotel Booking — Booking. 1 operation(s). Lead operation: Amadeus Create Orders Associated to the Hotel Offers. Self-contained Naftiko capability covering one Amadeus business surface.

Run with Naftiko AmadeusTravelBooking

What You Can Do

POST
Createbooking — Amadeus Create Orders Associated to the Hotel Offers
/v1/booking/hotel-bookings

MCP Tools

create-orders-associated-hotel-offers

Amadeus Create Orders Associated to the Hotel Offers

Capability Spec

hotel-booking-v1-booking.yaml Raw ↑
naftiko: "1.0.0-alpha2"
info:
  label: "Hotel Booking — Booking"
  description: 'Hotel Booking — Booking. 1 operation(s). Lead operation: Amadeus Create Orders Associated to the Hotel Offers. Self-contained Naftiko capability covering one Amadeus business surface.'
  tags:
    - Amadeus
    - Travel
    - Booking
  created: "2026-05-29"
  modified: "2026-05-29"
binds:
  - namespace: env
    keys:
      AMADEUS_TOKEN: AMADEUS_TOKEN
capability:
  consumes:
    - type: http
      namespace: hotel-booking-v1-booking
      baseUri: https://test.api.amadeus.com/v1
      description: Hotel Booking — Booking business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.AMADEUS_TOKEN}}'
      resources:
        - name: booking-hotel-bookings
          path: /booking/hotel-bookings
          operations:
            - name: createBooking
              method: POST
              description: Amadeus Create Orders Associated to the Hotel Offers
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: hotel-booking-v1-booking-rest
      port: 8080
      description: REST adapter for Hotel Booking — Booking. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/booking/hotel-bookings
          name: booking-hotel-bookings
          description: REST surface for booking-hotel-bookings.
          operations:
            - method: POST
              name: createBooking
              description: Amadeus Create Orders Associated to the Hotel Offers
              call: hotel-booking-v1-booking.createBooking
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: hotel-booking-v1-booking-mcp
      port: 9090
      transport: http
      description: MCP adapter for Hotel Booking — Booking. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: create-orders-associated-hotel-offers
          description: Amadeus Create Orders Associated to the Hotel Offers
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: hotel-booking-v1-booking.createBooking
          outputParameters:
            - type: object
              mapping: $.