end_call | inline | Used to end calls, particularly when customers request callbacks. Should be called once per utterance round after collecting callback date and time. | None | Call termination |
check_month_is_future | inline | Check if a given month and year combination is in the future compared to current date. | date (string): Date in YYYY-MM-DD format, uses current year and 1st of month if precise date not provided | Boolean: True if month/year is in the future, False if current |
get_per_night_price | inline | Calculates the per-night price of a property for specified check-in and check-out dates. | total_price (float): Total stay price from room/property availability tools
check_in_date (string): Check-in date in YYYY-MM-DD format
check_out_date (string): Check-out date in YYYY-MM-DD format | Per-night price calculation |
validate_email_id | inline | Validates customer email addresses when provided. Call this function whenever a customer provides their email address. | email_id (string): The email address provided by the customer | Email validation result |
date_time_is_future | inline | Check if a given datetime is in the future compared to current date. | checkin_date (string): Check-in date and time in YYYY-MM-DD HH:MM format
checkout_date (string): Check-out date and time in YYYY-MM-DD HH:MM format | Boolean validation result |
validate_phone_number_2 | inline | Validates phone numbers and corrects transcription errors that may occur during speech-to-text conversion. | phone_number (string): Phone number in strict digits without spaces or hyphens
utterance (string): Customer's utterance when providing phone number, including update descriptions | Phone number validation and correction |
check_date_validity | inline | Verifies if a check-in date is in the past when mentioned by customer. | date_to_check (string): Date in YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format | Date validity check |
get_tellable_email | inline | Formats email addresses in a readable way for voice confirmation with special characters spelled out. | email (string): The email address provided by the customer | Email formatted for voice reading |
validate_booking_date | inline | Validates booking dates after date and month confirmation. Important: Do not verbally confirm dates are valid in response. | checkin_date (string): Check-in date in YYYY-MM-DD format
checkout_date (string): Check-out date in YYYY-MM-DD format | Booking date validation (silent) |
location_helper | inline | Assists with location collection when transcription is poor or information is missing/misinterpreted. Note: Only for location validation, not for phone numbers. | None specified | Location assistance |