get_booking_link
Obtain a booking link for a hotel using dates and guest count. Supports deep-linking to a specific rate for direct checkout.
Instructions
Get booking options for a hotel.
Presents two explicit booking paths so the path is settled up front rather
than discovered mid-conversation:
1. **Check out on Gondola** with a booking link — always available.
2. **Book here now** with an eligible saved card — shown only when the user
has a card that can be charged in chat, and referenced by its last 4.
Anonymous users get path 1 plus a prompt to sign up for in-chat booking.
Use this after search_hotels or get_hotel_details when a user wants to book.
Pass ``gondola_rate_id`` whenever a specific rate has been surfaced (from
get_hotel_details or compare_rates) so the link lands on that rate's
checkout page instead of the generic hotel page.
Args:
hotel_id: The hotel's Vervotech property ID (from search_hotels results).
checkin: Check-in date in YYYY-MM-DD format.
checkout: Check-out date in YYYY-MM-DD format.
num_adults: Number of adult guests. Defaults to 2.
children_ages: Comma-separated ages of children (e.g. "5,8"). Empty string if no children.
gondola_rate_id: Optional rate ID from get_hotel_details/compare_rates. When provided,
the link deep-links straight to that rate's checkout page.
Returns:
Booking instructions tailored to the user's auth status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkin | Yes | ||
| checkout | Yes | ||
| hotel_id | Yes | ||
| num_adults | No | ||
| children_ages | No | ||
| gondola_rate_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |