56,641 tools
thn_internal__hide_message
THN internal tool for THN staff. Hides a currently displayed THN message on the hotel webpage, either by gracefully animating it out of the …
thn_internal__get_bus_history
THN internal tool for THN staff. Reads the recent history of events emitted on the THN Web SDK internal event bus, returning each event name…
thn_site__get_hotel_info
Returns basic information about the hotel whose website the guest is currently browsing: its name, website URL, main currency, location, geo…
thn_site__check_availability
Checks whether the hotel has rooms available for the given check-in and check-out dates and room occupancy (adults, children and children ag…
thn_site__compare_rates
Compares the hotel's direct rate with other booking channels for the given dates and rooms. Use this when the guest asks about price compari…
thn_site__get_direct_booking_benefits
Describes the benefits of booking directly on the hotel website. Use this when the guest asks about why book direct. Currently returns a mes…
thn_site__get_rates
Returns the hotel's rates for the given dates and occupancy. Use this when the guest asks about prices. Currently returns a message saying i…
thn_site__list_amenities
Lists the hotel amenities and services. Use this when the guest asks about pool, parking, extras, etc. Currently returns a message saying it…
thn_site__list_rooms
Lists the room types the hotel offers. Use this when the guest asks what rooms exist. Currently returns a message saying it is not available…
thn_site__start_booking
Starts a booking for the given dates and rooms, optionally with a currency, a promo code and a language. Use this when the guest wants to bo…
thn_internal__get_state_info
THN internal tool for THN staff. Returns a runtime snapshot of the THN Web SDK global state on the current hotel webpage, including property…
thn_internal__get_dom_element
THN internal tool for THN staff. Finds a DOM element on the current hotel webpage using a CSS selector and returns its innerHTML. Use this w…
thn_internal__list_messages
THN internal tool for THN staff. Lists all messages currently registered across all THN widget types (note, exit, layer, inliner) on the hot…
thn_internal__get_message_state
THN internal tool for THN staff. Returns the current runtime state of a specific THN message identified by its ID, including flags such as o…
thn_internal__show_message
THN internal tool for THN staff. Forces a THN message to display on the hotel webpage, bypassing all normal display guards such as frequency…
thn_internal__hide_message
THN internal tool for THN staff. Hides a currently displayed THN message on the hotel webpage, either by gracefully animating it out of the …
thn_internal__get_bus_history
THN internal tool for THN staff. Reads the recent history of events emitted on the THN Web SDK internal event bus, returning each event name…
thn_site__get_hotel_info
Returns basic information about the hotel whose website the guest is currently browsing: its name, website URL, main currency, location, geo…
thn_site__check_availability
Checks whether the hotel has rooms available for the given check-in and check-out dates and room occupancy (adults, children and children ag…
thn_site__compare_rates
Compares the hotel's direct rate with other booking channels for the given dates and rooms. Use this when the guest asks about price compari…
thn_site__get_direct_booking_benefits
Describes the benefits of booking directly on the hotel website. Use this when the guest asks about why book direct. Currently returns a mes…
thn_site__get_rates
Returns the hotel's rates for the given dates and occupancy. Use this when the guest asks about prices. Currently returns a message saying i…
thn_site__list_amenities
Lists the hotel amenities and services. Use this when the guest asks about pool, parking, extras, etc. Currently returns a message saying it…
thn_site__list_rooms
Lists the room types the hotel offers. Use this when the guest asks what rooms exist. Currently returns a message saying it is not available…
thn_site__start_booking
Starts a booking for the given dates and rooms, optionally with a currency, a promo code and a language. Use this when the guest wants to bo…
thn_internal__get_state_info
THN internal tool for THN staff. Returns a runtime snapshot of the THN Web SDK global state on the current hotel webpage, including property…
thn_internal__get_dom_element
THN internal tool for THN staff. Finds a DOM element on the current hotel webpage using a CSS selector and returns its innerHTML. Use this w…
thn_internal__list_messages
THN internal tool for THN staff. Lists all messages currently registered across all THN widget types (note, exit, layer, inliner) on the hot…
thn_internal__get_message_state
THN internal tool for THN staff. Returns the current runtime state of a specific THN message identified by its ID, including flags such as o…
thn_internal__show_message
THN internal tool for THN staff. Forces a THN message to display on the hotel webpage, bypassing all normal display guards such as frequency…
thn_internal__hide_message
THN internal tool for THN staff. Hides a currently displayed THN message on the hotel webpage, either by gracefully animating it out of the …
thn_internal__get_bus_history
THN internal tool for THN staff. Reads the recent history of events emitted on the THN Web SDK internal event bus, returning each event name…
thn_site__get_hotel_info
Returns basic information about the hotel whose website the guest is currently browsing: its name, website URL, main currency, location, geo…
thn_site__check_availability
Checks whether the hotel has rooms available for the given check-in and check-out dates and room occupancy (adults, children and children ag…
thn_site__compare_rates
Compares the hotel's direct rate with other booking channels for the given dates and rooms. Use this when the guest asks about price compari…
thn_site__get_direct_booking_benefits
Describes the benefits of booking directly on the hotel website. Use this when the guest asks about why book direct. Currently returns a mes…
thn_site__get_rates
Returns the hotel's rates for the given dates and occupancy. Use this when the guest asks about prices. Currently returns a message saying i…
thn_site__list_amenities
Lists the hotel amenities and services. Use this when the guest asks about pool, parking, extras, etc. Currently returns a message saying it…
thn_site__list_rooms
Lists the room types the hotel offers. Use this when the guest asks what rooms exist. Currently returns a message saying it is not available…
thn_site__start_booking
Starts a booking for the given dates and rooms, optionally with a currency, a promo code and a language. Use this when the guest wants to bo…