← Back to all apps

MakeMyTrip

Travelby MakeMyTrip

Discover flights and hotels with real time inventory and pricing right inside your conversation.

2ChatGPT Tools
MakeMyTripDeveloper
TravelCategory

Available Tools

Flight Listing

fetch-flights
Full Description

Fetch the flight listing for the given departure city and destination city

Parameters (4 required, 8 optional)
Required
departureCityCodestring

Departure city code (e.g., DEL, BOM)

departureDatestring

Departure date in YYYYMMDD format (e.g., 20260116)

destinationCityCodestring

Destination city code (e.g., DEL, BOM)

promptstring

User given prompt

Optional
adultsnumber

Number of adults

Default: 1
cabinClassstring

Cabin class E is Economy, PE is Premium Economy, and B is Business (e.g., E, PE, B)

Default: E
childrennumber

Number of children

Default: 0
filtersobject

Filters to apply to flight search results. Do not include a filter if the user does not want to filter the flights or the user just wants to sort the results

infantsnumber

Number of infants

Default: 0
isRoundTripboolean

Whether the flight is a round trip or one-way

Default: False
returnDatestring

Return date in YYYYMMDD format (e.g., 20260116). Required only if the flight is a round trip. If not provided, the flight will be a one-way trip.

sorterstring

Sort order: Cheapest or Fastest. when asked for price, it is for cheapest and for duration, it is for fastest

Options:CheapestFastest
Default: Cheapest

Hotel Listing

fetch-hotels
Full Description

Get hotel search results by first using autosuggest to find the city code, then fetching hotel listings for that city

Parameters (2 required, 13 optional)
Required
locationstring

Hotel city or locality to search for hotels (e.g., New Delhi, Connaught place New Delhi, South Goa, Colva beach Goa)

promptstring

Prompt for the hotel listing. This is the prompt that the user gave to the chatbot. Do not change it or remove it.

Optional
adultsnumber

Number of adults

Default: 2
amenitiesarray

Amenities - MUST be an array containing only these allowed values: 'Wi-Fi', 'Spa', 'Swimming Pool', 'Balcony/Terrace', 'Restaurant', 'Parking', 'Bar', 'Caretaker', 'Outdoor Sports', 'Cafe', 'Elevator/Lift', 'Indoor Games', 'Airport Transfers', 'Railway Station Transfers'. Example: ['Swimming Pool', 'Wi-Fi']

checkInstring

Check in date in YYYY-MM-DD format

checkOutstring

Check out date in YYYY-MM-DD format

childrennumber

Number of children

Default: 0
durationstring

Duration (e.g., 5_7 nights)

Default: 0_10
filtersobject

Filters - MUST be an object with the following properties: freeCancellation, freeBreakfast

infantsnumber

Number of infants

Default: 0
priceRangeobject

Price range filter (e.g., { min: 1000, max: 2000 })

propertyTypesarray

Property Types - MUST be an array containing only these allowed values: 'Hotel', 'Resort', 'Apartment', 'Villa', 'Hostel'. Example: ['Hotel'] or ['Resort', 'Hotel']

roomViewstring

Room view - MUST be one of these allowed values: 'Sea View', 'Mountain View', 'Pool View', 'City View', 'Garden View', 'Lake View', 'River View', 'Forest View'

Options:Sea ViewMountain ViewPool ViewCity ViewGarden ViewLake ViewRiver ViewForest View
sortBystring

Sort by - [Do not include if not asked for] MUST be one of these allowed values: 'reviewRating' (highest rated first), 'price_asc' (lowest price first), 'price_desc' (highest price first), 'cheapestBestReviewed' (best value)

starRatingsarray

Star Ratings - [ Do not include if not asked for] MUST be an array containing only these values: 3, 4, or 5. Example: ['3', '4', '5'] or ['5'] or ['3', '4']. Allowed values: '3', '4', '5'