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…
searchCourses
Search the selected Brock timetable for course offerings. This does not change the schedule.
createSchedule
Replace the current schedule with the requested courses and generate the best options.
addCourses
Add courses to the current schedule and regenerate its options.
previewCourseAddition
Read-only what-if: test adding courses to the current schedule without changing it.
removeCourses
Remove course labels or course codes from the current schedule and regenerate.
setSchedulePreferences
Set hard requirements and soft timetable preferences, then regenerate and rank options.
setUnavailableTimes
Replace or add recurring unavailable class times, then regenerate. Days use M, T, W, R, F, S, U.
pinSections
Require specific course sections in generated schedules.
unpinSections
Remove requirements for specific course sections and regenerate.
searchScheduleOptions
Search and rank generated schedule options without changing the selected option.
getScheduleOptionDetails
Get meeting-by-meeting details for a generated schedule option.
compareScheduleOptions
Compare two to five generated schedule options.
selectScheduleOption
Make a generated timetable option the visible selected schedule.
getCurrentSchedule
Read the current schedule, preferences, and selected option.
exportSchedule
Download the selected schedule as an iCalendar (.ics) file or return its share link.