Expedia tools
ChatGPTDiscover and search flights and hotels worldwide. Get real-time pricing and availability to plan your perfect trip.
get_hotel_pdp_offers
ChatGPTRetrieve detailed property information, available room offers, and pricing for a specific hotel. This tool provides comprehensive hotel details including amenities, photos, reviews, and real-time room availability with rates.
search_flights
ChatGPTSearch and compare flights worldwide with comprehensive filters and transparent pricing, including historical data and price forecasts up to 180 days out. Results render in a rich, scrollable carousel showing full itineraries, fares, policies, and booking links for side-by-side comparison. Autoset guidance (server-side, case-insensitive intent detection): - Trip type: If return_date is present → RoundTrip; If user search includes "one way / one-way / oneway" → treat as OneWay. - Origin/Destination: ALWAYS disambiguate ambiguous locations (YOU MUST provide uniquely identifiable locations or airport codes). For cities with multiple locations, specify state/province/country: "Portland" → clarify "Portland, OR" vs "Portland, ME" "London" → clarify "London, UK" vs "London, ON, Canada" "San Jose" → clarify "San Jose, CA" vs "San Jose, Costa Rica" - Nearby airports: City name (e.g., "Seattle") → filter_near_by_airport = false to include metro/nearby airports. Airport code (e.g., "SEA") or phrases like "SEA only / no nearby" → filter_near_by_airport = true. - Stops: "nonstop / direct" → number_of_stops = 0. "max one stop / ≤1 stop / up to 1 stop" → number_of_stops = 1. - Cabin class: Map phrases to cabin_class: "business / business class" → BUSINESS "first / first class" → FIRST "premium economy / premium" → PREMIUMECONOMY "coach / economy / main cabin" → ECONOMY - Sorting: "cheapest / low price / budget / affordable" → sort_type = PRICE. "fastest / shortest / least time / quickest" → sort_type = DURATION. - Refundability: "refundable / flexible / free cancellation" → refundable = true. - Basic economy: "no basic economy / avoid basic economy / standard fare / main cabin only" → filter_basic_economy = true. - Airline preference: If airline name appears (e.g., "United," "Southwest"), resolve to IATA code for airline_code (UA, WN, etc.). - Travelers: Parse counts/ages mentioned in the user search (e.g., "2 adults and kids 5, 8") → adult = 2, children_ages = [5, 8]. If infants are present in the request they must be added to the infants_in_lap_count or infants_in_seat_count, DO NOT add them to both - Pagination: Maintain the current offset of results viewed by the user in their session for a given search criteria for flights, starting with 0. If the user asks for more, request the appropriate offset. If the search criteria for flights changes, reset the offset to 0. Set the limit as the number of results to fetch as explicitly requested by the user, else the tool will decide the limit. - query_text: Concatenate every user message from the conversation verbatim, joined by "; ", in chronological order. Example: "Flights from NYC to London; make it business class; also nonstop". In a single-message conversation, this is just that one message. CRITICAL TEMPORAL RULES: Interpret relative dates (e.g., "next weekend", "tomorrow") relative to the current date provided in system context. Example: If today is 2026-01-15 and user asks for “flights next weekend”, use 2026-01-23 to 2026-01-25 Interpret specific dates (e.g., “January 1-10") relative to the current date provided in system context. - If current date is before that date in current year: use current year - If current date is in or after that date: use NEXT year - Example: If today is 2026-02-24 and the user asks for “flights in January”, interpret that as January 2027 - When ambiguous, default to the NEAREST FUTURE occurrence that satisfies the constraints rather than asking the user to clarify the date. If disambiguation is necessary, never suggest a past date as an alternative. For example, if the current date is in the year 2026, never suggest a date in the year 2025. HOLIDAY / EVENT DATE RESOLUTION: When the user references a holiday or named event (e.g., "Valentine’s Day", "Christmas", "Art Basel"): -Resolve the event to a specific date range for the MOST RELEVANT upcoming occurrence. -If the event has fixed dates (e.g., Valentine's Day), use the known calendar date (e.g., February 14). - If the event is recurring but variable (e.g., Art Basel, Coachella), infer the most likely…
search_hotels
ChatGPTALWAYS invoke this tool for any message that includes or implies hotel/lodging search intent—initial or follow-up. Do not answer from general knowledge; call the tool again using the updated parameters. show_output_on_map controls the UI: when true, render an interactive map (pins showing price and rating, ideal for spatial decisions); when false (default), render a rich, scrollable carousel for side-by-side property comparison. Session State and Tool Call Atomicity: - Session State: Maintain an active search context (Destination, dates, party size, etc.). On follow-ups, you will merge the user's new constraints with the existing search context to form a new set of parameters. - Tool Call Atomicity: Each call to this tool is an atomic, independent operation that generates a completely new UI (a new map or a new carousel). - The results from one call CANNOT be merged, overlaid, or combined with results from any other tool call (including previous calls to this same tool or calls to other tools like a hypothetical booking.com tool). - If a user asks to add or filter results, you do not modify the previous output; you perform a NEW tool call with the updated parameters, which will render a NEW, replacement UI. Guidance on input parameters: - set show_output_on_map = true only for location-driven queries, including: 1. Point of Interest — “hotels near {landmark}” (e.g., Eiffel Tower, airport, stadium, university, convention center). 2. Neighborhood — “hotels in {neighborhood/district/quarter}” (e.g., Belltown, SoMa, Old Town). 3. Regional within a city — “hotels near {ocean|beach|waterfront|river|park|downtown|harbor|harbour}”. - set show_output_on_map = false for city-based searches Examples: - “hotels near eiffel tower with spa” → show_output_on_map = true - “hotels in belltown with parking” → show_output_on_map = true - “san diego hotels near the ocean with pool” → show_output_on_map = true - “paris hotels, free wifi, restaurant, very good reviews” → show_output_on_map = false - "hotels in Bellevue" → show_output_on_map = false - set sort_type = 'NEAREST' for location-drven queries unless the user EXPLICITLY specifies otherwise. Remember, by default, always set show_output_on_map to false. - Sorting: "cheapest / low price / budget / affordable" → sort_type = PRICE (low to high) "most expensive / fanciest / priciest" → sort_type = PRICE (high to low) - set discounted_only = true when the user explicitly asks for deals, discounts, sales, or special offers. Do NOT change sort_type when this filter is active; keep the default 'recommended' sort unless the user explicitly asks for a specific sort order (e.g. 'cheapest', 'nearest'). - For bed_types (array), choose one or more of the following: full_bed, king_bed, queen_bed, sofa_bed, twin_bed, bunk_bed, etc, only if the user specifically requests a bed type. - For Destination (str), ALWAYS provide a uniquely identifiable location, but normalize overly verbose or address-like inputs to the closest suitable canonical location. Preserve the primary place name (city, POI, airport, or landmark) and include only the minimal geographic qualifiers required for disambiguation (typically state/province and/or country). Remove unnecessary hierarchy such as neighborhoods, districts, postal codes, or repeated city names. - Pagination is supported by the tool. Maintain the current offset of results viewed by the user in their session for a given search criteria for hotels, starting with 0. If the user asks for more, request the appropriate offset. If the search criteria for hotels changes, reset the offset to 0. Set the limit as the number of results to fetch as explicitly requested by the user, else the tool will decide the limit. - query_text: Concatenate every user message from the conversation verbatim, joined by "; ", in chronological order. Example: "Hotels in Miami with ocean view; I want a pool also". In a single-message conversation, this is just that one message. CRITICAL TEMPORAL RULES: Interpret relative dates (e.g., "next weekend", "tomorrow") relative to the current date provid…
get_hotel_pdp_offers
Claudesearch_flights
Claudesearch_hotels
Claude