56,641 tools
get_event_overview
Snapshot of the whole event: name, tables with occupancy, unseated guests, active constraints, and current violations. Call this first to or…
list_guests
List all guests with their group, tags, table assignment and host-lock status. Optionally filter by text.
add_guests
Add one or more guests to the event. Each needs a name; group/tags/notes are optional.
update_guest
Update a guest's name, group, tags, or notes.
remove_guest
Remove a guest from the event entirely (unseats them and drops their constraints).
add_table
Add a table with a name and seat capacity.
update_table
Rename a table or change its capacity.
remove_table
Remove a table; its guests become unseated.
seat_guest
Seat a guest at a table (or unseat them by passing no table). Refuses to move guests the host has locked — ask the host instead.
swap_guests
Swap the table assignments of two guests. Refuses if either guest is host-locked.
add_constraint
Record a seating rule: 'together' (a and b must share a table), 'apart' (a and b must not), or 'at_table' (a belongs at a specific table).
remove_constraint
Remove a seating rule by its id (see get_event_overview).
get_violations
List every current constraint violation and over-capacity table in plain language.
auto_seat
Run the constraint solver: seats everyone it can while honoring together/apart/at_table rules and never moving host-locked guests. Returns w…
set_event_name
Set the event's display name.
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…
get_chart_state
Read the whole seating chart at once: every table with its students, who is unseated, the active rules, and any rule conflicts. Call this fi…
list_students
List students with their reading band, support flag, and current table. Optionally filter to one trait value, for example every student whos…
list_rules
List the seating rules currently in force, with the id needed to remove one.
explain_seat
Explain why one student is where they are: which table, which row, which rules mention them, and whether those rules are currently satisfied…
set_room
Set how many tables the room has and how many seats are at each. Tables fill left to right, three per row; row one is the front of the room …
seat_student
Move one student to a table. Names match loosely, so a first name is usually enough. Omit the seat number to take the first open seat; if th…
swap_students
Exchange the seats of two students who are both already seated. Use this rather than two seat_student calls when the teacher says "switch th…
unseat_student
Take a student out of their seat and put them back on the bench. Use for an absence, or to free a seat before a rearrangement.
add_rule
Add a seating constraint. "apart" keeps two students at different tables, "together" puts them at the same one, "front" puts a student in th…
remove_rule
Drop a rule from the list, by its id from list_rules or by a phrase from the rule text.