Hotel Search Tool
hotel_searchFull Description
Use this when users ask about hotels, accommodations, lodging, or places to stay. Include all details in inputQuery: destination, dates (convert relative dates like 'next weekend' to specific dates), number of adults, number of children, number of rooms, and preferences (e.g., 'near Times Square', 'pet-friendly', 'under $200/night'). If dates are missing, default to today +2 nights. If 'number of rooms' is missing, default to 1. If 'number of adults' is missing, default to 2. Results are displayed in an interactive map widget and POI markers relevant to conversation are shown on the map. Users can tap a hotel to complete booking on Priceline.com. For follow-ups, preserve context (destination, dates) and issue a new search with updated parameters. Do not use for: flights, car rentals, vacation packages, or general travel advice without lodging intent.
Parameters
checkInstringCheck-in date in YYYY-MM-DD format. Extract from user query and convert: '12/09' → '2026-12-09', 'December 9' → '2026-12-09', 'tomorrow' → appropriate date. Use the current year. If user doesn't specify, use today's date.
checkOutstringCheck-out date in YYYY-MM-DD format. Extract from user query and convert: '12/13' → '2026-12-13', 'for 2 nights' → checkIn +2 days. Use the current year. If user doesn't specify, use checkIn +2 days.
inputQuerystringThe natural language query to search for hotels. Generate this from user's current query and conversation history. Include all necessary information if provided such as: city, check-in date, check-out date, number of rooms, number of adults as well as any additional preferences.