DocumentationMCPCLI

Introduction

  • Overview

Hotels

  • Search hotels
  • Hotel details
  • Live rates

Booking

  • Create booking

Account

  • Sign in
  • Sign out
  • Show account

Guides

  • Agent guide

Local MCP

  • Local MCP server

Booking

Create booking

Create an order and get a payment link.

MCP: book_hotel

Usage

fortrip hotels book --hotel <id> --room-id <id> --rate-plan <code> --check-in YYYY-MM-DD --check-out YYYY-MM-DD --rooms <n> --adults <n> --guest "First Last[:roomNo]"... --contact-name <name> --contact-phone <phone> [options]

Options

FlagFieldDescription
--hotel <id>hotelIdHotel id.
--room-id <id>roomIdroomId from hotels rates
--rate-plan <code>ratePlanCoderatePlanCode from hotels rates
--check-in YYYY-MM-DDcheckInCheck-in date, yyyy-MM-dd.
--check-out YYYY-MM-DDcheckOutCheck-out date, yyyy-MM-dd. Stays are 1 to 15 nights.
--rooms <n>roomsNumber of rooms, as in hotels rates; every room has the same occupancy
--adults <n>adultsAdults per room, not in total, as in hotels rates (2 rooms for 4 adults = --rooms 2 --adults 2)
--child-age <age>...childrenAgesAge of each child in one room (0-17), per room, as in hotels rates
--guest "First Last[:roomNo]"...guestsA guest, as "First Last" (room 1) or "First Last:roomNo", e.g. "Mary Ann Lee:2": the last word is the last name, the rest the first name. Repeat for each guest. At least one guest per room, no more than the room sleeps. Names in Latin letters as on the passport; transliterate accents (Müller → Mueller).
--contact-name <name>contactNameContact person for the booking.
--contact-phone <phone>contactPhoneContact phone number.
--contact-email <email>contactEmailContact email.
--special-requests <english text>specialRequestsRequests for the hotel, in English. Not guaranteed.
--body <json|@file.json>—The raw request body as a JSON object, or @file.json to read it from a file. Flags override its fields.

Output

Prints the Booking result object on stdout. Errors go to stderr with an exit code.

PreviousLive ratesNextSign in

On this page

  • Usage
  • Options
  • Output
Fortrip

Opinionated trip planning, built for real itineraries.

Plan

  • AI Trip Planner
  • Validator
  • Transport
  • Stays

Company

  • Pricing
  • About
  • Team
  • Blog
  • Decision Optimization
  • Itinerary Selection
  • News

Resources

  • Explore Destinations
  • Brand Assets
  • Responsible Travel
  • vs ChatGPT
  • Best AI travel planner
  • FAQ

© 2026 FortripAI, Inc.

PrivacyTerms
info@fortrip.ai+1-650-272-16121111b South Governors Ave, Dover, DE 19904
Skip to main content
Fortrip Logo
HomeExplorePlanningPricing
CLIMCPDocs
Saved0