naftiko: 1.0.0-alpha2 info: label: Hostaway Reservations API — Reservations description: 'Hostaway Reservations API — Reservations. Self-contained Naftiko capability covering one Hostaway business surface.' tags: - Hostaway - Reservations - Vacation Rentals - Bookings created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: HOSTAWAY_ACCESS_TOKEN: HOSTAWAY_ACCESS_TOKEN capability: consumes: - type: http namespace: reservations-reservations baseUri: https://api.hostaway.com description: Hostaway Reservations API — Reservations business capability. resources: - name: v1-reservations path: /v1/reservations operations: - name: listreservations method: GET description: Hostaway List Reservations outputRawFormat: json - name: createreservation method: POST description: Hostaway Create Reservation outputRawFormat: json - name: v1-reservations-reservation_id path: /v1/reservations/{reservationId} operations: - name: getreservation method: GET description: Hostaway Get Reservation outputRawFormat: json - name: updatereservation method: PUT description: Hostaway Update Reservation outputRawFormat: json authentication: type: bearer value: '{{env.HOSTAWAY_ACCESS_TOKEN}}' placement: header exposes: - type: rest namespace: reservations-reservations-rest port: 8080 description: REST adapter for Hostaway Reservations. resources: - path: /v1/reservations name: v1-reservations operations: - method: GET name: listreservations description: Hostaway List Reservations call: reservations-reservations.listreservations - method: POST name: createreservation description: Hostaway Create Reservation call: reservations-reservations.createreservation - path: /v1/reservations/{reservation-id} name: v1-reservations-reservation-id operations: - method: GET name: getreservation description: Hostaway Get Reservation call: reservations-reservations.getreservation - method: PUT name: updatereservation description: Hostaway Update Reservation call: reservations-reservations.updatereservation - type: mcp namespace: reservations-reservations-mcp port: 9090 transport: http description: MCP adapter for Hostaway Reservations. tools: - name: hostaway-list-reservations description: Hostaway List Reservations hints: readOnly: true destructive: false idempotent: true call: reservations-reservations.listreservations - name: hostaway-create-reservation description: Hostaway Create Reservation hints: readOnly: false destructive: false idempotent: false call: reservations-reservations.createreservation - name: hostaway-get-reservation description: Hostaway Get Reservation hints: readOnly: true destructive: false idempotent: true call: reservations-reservations.getreservation - name: hostaway-update-reservation description: Hostaway Update Reservation hints: readOnly: false destructive: false idempotent: true call: reservations-reservations.updatereservation