Wego is an MCP server published by com.wego.mcp, hosted at mcp.wego.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 10 tools, including flights_one_way_price, flights_schedule, flights_search, flights_search_anywhere, places_get_nearest_airport.
Search live flight and hotel prices on Wego. Get schedules, public holidays and booking links.
1,149 connections through 4 shared values. Tap any node.
Shows cheapest one-way flight prices across a date range. Returns daily prices with price band thresholds for comparison. Use with origin/destination IATA codes from places_find_location. Defaults to next 6 months if no dates provided.
| Parameter | Type | Description |
|---|---|---|
| locale | string | Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar'). |
| origin * | string | Departure city IATA code (e.g., LON, NYC, SIN) |
| endDate | ref | End date (YYYY-MM-DD). Defaults to 6 months from start. |
| startDate | string | Start date (YYYY-MM-DD). Defaults to today. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| directOnly |
| boolean |
| Show direct flights only |
| destination * | string | Arrival city IATA code (e.g., BKK, PAR, TYO) |
| currencyCode * | string | The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversa… |
{
"name": "flights_one_way_price",
"title": "Flight One-Way Price",
"description": "Shows cheapest one-way flight prices across a date range. Returns daily prices with price band thresholds for comparison. Use with origin/destination IATA codes from places_find_location. Defaults to next 6 months if no dates provided.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"origin",
"destination",
"currencyCode"
],
"properties": {
"locale": {
"type": "string",
"description": "Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar')."
},
"origin": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Departure city IATA code (e.g., LON, NYC, SIN)"
},
"endDate": {
"$ref": "#/properties/startDate",
"description": "End date (YYYY-MM-DD). Defaults to 6 months from start."
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date (YYYY-MM-DD). Defaults to today."
},
"directOnly": {
"type": "boolean",
"default": false,
"description": "Show direct flights only"
},
"destination": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Arrival city IATA code (e.g., BKK, PAR, TYO)"
},
"currencyCode": {
"type": "string",
"description": "The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversation, searchId reads included."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Gets the current published timetable of nonstop flights between two cities: airlines, flight numbers, departure and arrival airports and times, duration, and operating periods (dates, weekdays and aircraft). Connecting flights are not listed: use flights_search for those and for fares on a date. Accepts city or airport IATA codes from places_find_location; an airport code gives its city's timetable. Results are paged: when metadata.hasMore is true, call again with page + 1. Optionally filter by airline code.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Arrival city or airport code (IATA, e.g., 'BKK' or 'LHR'). An airport code gives its city's timetable. |
| from * | string | Departure city or airport code (IATA, e.g., 'SIN' or 'LHR'). An airport code gives its city's timetable. |
| page | integer | Page of flights, 1-based (default 1). Rarely needed: most routes fit on one page. |
| locale | string | Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar'). |
| airline | string | Optional: Filter by airline code (2-letter IATA code, e.g., 'EK', 'SQ') |
| pageSize | integer | Flights per page (default and max 200). Use it to narrow a long answer. |
{
"name": "flights_schedule",
"title": "Flight Schedule",
"description": "Gets the current published timetable of nonstop flights between two cities: airlines, flight numbers, departure and arrival airports and times, duration, and operating periods (dates, weekdays and aircraft). Connecting flights are not listed: use flights_search for those and for fares on a date. Accepts city or airport IATA codes from places_find_location; an airport code gives its city's timetable. Results are paged: when metadata.hasMore is true, call again with page + 1. Optionally filter by airline code.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Arrival city or airport code (IATA, e.g., 'BKK' or 'LHR'). An airport code gives its city's timetable."
},
"from": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Departure city or airport code (IATA, e.g., 'SIN' or 'LHR'). An airport code gives its city's timetable."
},
"page": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Page of flights, 1-based (default 1). Rarely needed: most routes fit on one page."
},
"locale": {
"type": "string",
"description": "Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar')."
},
"airline": {
"type": "string",
"pattern": "^[A-Z0-9]{2}$",
"description": "Optional: Filter by airline code (2-letter IATA code, e.g., 'EK', 'SQ')"
},
"pageSize": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Flights per page (default and max 200). Use it to narrow a long answer."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Searches for flights between airports or cities. Not for flight status, price tracking, visa information, bookings, or reservation management. Polling flow: 1. Call with newSearch. It returns a searchId at once (status "created", pollAgainInSeconds: 5). 2. Wait pollAgainInSeconds, then call with searchId. Status is "incomplete" (cheaper fares still arriving) or "complete". 3. While status is "incomplete", wait pollAgainInSeconds and call again. Stop at "complete". After 3 reads, use the results you have. A search is complete about 30 seconds after it is created. After that, every read returns "complete" at once. Refinement: call with the searchId and new filters or sorting. They replace the previous filters and sorting entirely, so send again the ones to keep. Defaults: one date means one-way, a return date means round-trip. Omit filters when the user states no preference. Use a time range for an exact time ("after 10pm"). Use time blocks for a broad one: midnight 0-6h, morning 6-12h, afternoon 12-18h, night 18-24h. Paging: every searchId read returns metadata {page, pageSize, resultCount, totalCandidates, hasMore}. totalCandidates counts matching trips on all pages, resultCount this page. While hasMore is true, call with the same searchId, filters and sorting and page + 1. Featured trips appear on page 1 only. Labels (best_value, cheapest, cheapest_direct) are judged over all matching trips, not the page. Each trip leg has dayOffset: calendar days between the leg's local departure date and local arrival date (0 same day, 1 next day, -1 across the date line). Filter options: a page 1 read with searchId returns filterOptions with the airlines, alliances, bookingSites and stopoverAirports of this search. Later pages do not. The lists are partial while status is "incomplete" and final at "complete". Each entry is { code, name, price }, where price is the cheapest per-person price before filters. Each code is a valid value for the filter of the same name. Use these codes in filters instead of guessing.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page of trips a searchId read returns, 1-based (default 1, max 100). |
| locale | string | Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar'). |
| filters | object | Flight filters to apply. When used with searchId (refinement), filters completely replace the previous filters. To preserve existing filters like airlines or departure times, include them again along with any new filters. |
| sorting | string | Sort order for results. Pass a single string value. Options: score_desc (recommended, default), price_asc (cheapest), duration_asc (fastest), leg1_departure_time_asc/desc (outbound departure), leg2_departure_time_asc/desc (return departure, round-trip only). |
| pageSize | integer | Trips per page on a searchId read (default 20, max 50). Out-of-range or non-integer values are rejected, never clamped. |
| searchId | string | Reuse the searchId from a previous search when refining, filtering, sorting, or selecting. |
| siteCode | string | The user's OWN country as an ISO 3166-1 alpha-2 code (e.g. 'SG', 'SA', 'IN'), when the conversation shows where the user is. It picks the Wego site that booking links open and the market prices come from. Do NOT take it from the departure, arrival or hotel city: a user in India searching London is s… |
| newSearch | object | Parameters required to create a new flight search when searchId is not provided. Include route (from/to), travel dates (fromDate/toDate in YYYY-MM-DD), and passenger counts. Use this to start a new Wego metasearch; omit when refining/polling an existing search via searchId. |
| currencyCode * | string | The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversa… |
{
"name": "flights_search",
"title": "Search Flights",
"description": "Searches for flights between airports or cities. Not for flight status, price tracking, visa information, bookings, or reservation management.\n\nPolling flow:\n1. Call with newSearch. It returns a searchId at once (status \"created\", pollAgainInSeconds: 5).\n2. Wait pollAgainInSeconds, then call with searchId. Status is \"incomplete\" (cheaper fares still arriving) or \"complete\".\n3. While status is \"incomplete\", wait pollAgainInSeconds and call again. Stop at \"complete\". After 3 reads, use the results you have.\nA search is complete about 30 seconds after it is created. After that, every read returns \"complete\" at once.\n\nRefinement: call with the searchId and new filters or sorting. They replace the previous filters and sorting entirely, so send again the ones to keep.\n\nDefaults: one date means one-way, a return date means round-trip. Omit filters when the user states no preference. Use a time range for an exact time (\"after 10pm\"). Use time blocks for a broad one: midnight 0-6h, morning 6-12h, afternoon 12-18h, night 18-24h.\n\nPaging: every searchId read returns metadata {page, pageSize, resultCount, totalCandidates, hasMore}. totalCandidates counts matching trips on all pages, resultCount this page. While hasMore is true, call with the same searchId, filters and sorting and page + 1. Featured trips appear on page 1 only. Labels (best_value, cheapest, cheapest_direct) are judged over all matching trips, not the page.\n\nEach trip leg has dayOffset: calendar days between the leg's local departure date and local arrival date (0 same day, 1 next day, -1 across the date line).\n\nFilter options: a page 1 read with searchId returns filterOptions with the airlines, alliances, bookingSites and stopoverAirports of this search. Later pages do not. The lists are partial while status is \"incomplete\" and final at \"complete\". Each entry is { code, name, price }, where price is the cheapest per-person price before filters. Each code is a valid value for the filter of the same name. Use these codes in filters instead of guessing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"currencyCode"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"maximum": 100,
"minimum": 1,
"description": "Page of trips a searchId read returns, 1-based (default 1, max 100)."
},
"locale": {
"type": "string",
"description": "Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar')."
},
"filters": {
"type": "object",
"properties": {
"stops": {
"type": "array",
"items": {
"type": "number",
"description": "Number of stops"
},
"description": "Number of stops. e.g. Direct flight = 0, 1 stop = [1], direct or 1 stop = [0, 1]"
},
"airlines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2,
"description": "2-letter IATA airline code"
},
"description": "2-letter IATA airline codes. e.g. ['SQ', 'UA', 'LH']"
},
"alliances": {
"type": "array",
"items": {
"enum": [
"star_alliance",
"oneworld",
"skyteam"
],
"type": "string"
},
"description": "Airline alliances. e.g. ['star_alliance', 'oneworld', 'skyteam']"
},
"priceRange": {
"type": "object",
"properties": {
"max": {
"type": "number",
"description": "Maximum price per person"
},
"min": {
"type": "number",
"description": "Minimum price per person"
}
},
"description": "Budget filter (e.g., 'under $500' = {max: 500}). Per-person price in user's currency.",
"additionalProperties": false
},
"bookingSites": {
"type": "array",
"items": {
"type": "string",
"description": "Travel booking site"
},
"description": "Filter by specific travel booking sites. e.g. ['booking.com']"
},
"bookingTypes": {
"type": "array",
"items": {
"enum": [
"wego",
"airline"
],
"type": "string"
},
"description": "Booking channel - Book on Wego or direct with airline. e.g. ['wego', 'airline']"
},
"originAirports": {
"type": "array",
"items": {
"type": "string",
"description": "Departure IATA airport code"
},
"description": "Filter by specific departure airports. e.g. ['JFK']"
},
"stopoverAirports": {
"type": "array",
"items": {
"type": "string",
"description": "Stopover/Transit IATA airport code"
},
"description": "Include flights with layovers at these airports. e.g. ['DXB']"
},
"flightExperiences": {
"type": "array",
"items": {
"enum": [
"no_overnight_flight",
"no_long_stopover"
],
"type": "string"
},
"description": "Flight experience preferences. e.g. ['no_overnight_flight', 'no_long_stopover']"
},
"destinationAirports": {
"type": "array",
"items": {
"type": "string",
"description": "Arrival IATA airport code"
},
"description": "Filter by specific arrival airports. e.g. ['CDG']"
},
"inboundArrivalTimeRange": {
"$ref": "#/properties/filters/properties/outboundDepartureTimeRange",
"description": "Granular return arrival time range in minutes from midnight for ROUND-TRIP searches. Cannot be used with inboundArrivalTimeBlocks."
},
"inboundArrivalTimeBlocks": {
"type": "array",
"items": {
"$ref": "#/properties/filters/properties/outboundDepartureTimeBlocks/items"
},
"description": "Filter return flight arrival times for ROUND-TRIP searches. Use this to specify when you want the return leg to arrive back. e.g. ['morning', 'afternoon'] for arrivals before 6pm"
},
"outboundArrivalTimeRange": {
"$ref": "#/properties/filters/properties/outboundDepartureTimeRange",
"description": "Granular outbound arrival time range in minutes from midnight. Use this for precise time filtering. Cannot be used with outboundArrivalTimeBlocks."
},
"inboundDepartureTimeRange": {
"$ref": "#/properties/filters/properties/outboundDepartureTimeRange",
"description": "Granular return departure time range in minutes from midnight for ROUND-TRIP searches. Cannot be used with inboundDepartureTimeBlocks."
},
"inboundTotalDurationRange": {
"type": "object",
"properties": {
"max": {
"type": "number",
"description": "Maximum duration in minutes"
},
"min": {
"type": "number",
"description": "Minimum duration in minutes"
}
},
"description": "Return flight duration filter (e.g., 'under 5 hours' = {max: 300}). Minutes. Round-trip only.",
"additionalProperties": false
},
"outboundArrivalTimeBlocks": {
"type": "array",
"items": {
"$ref": "#/properties/filters/properties/outboundDepartureTimeBlocks/items"
},
"description": "Filter outbound arrival times. Use this to specify when you want to arrive at your destination. e.g. ['morning', 'afternoon'] for arrivals before 6pm"
},
"inboundDepartureTimeBlocks": {
"type": "array",
"items": {
"$ref": "#/properties/filters/properties/outboundDepartureTimeBlocks/items"
},
"description": "Filter return flight departure times for ROUND-TRIP searches. Use this to specify when you want the return leg to depart. e.g. ['morning', 'afternoon'] for departures before 6pm"
},
"outboundDepartureTimeRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "integer",
"maximum": 1440,
"minimum": 0,
"description": "End time in minutes from midnight (0-1440). Example: 780 = 1:00 PM. Supports max=1440 for end-of-day (midnight). For midnight wraparound (e.g., 11pm-1am), max can be less than min."
},
"min": {
"type": "integer",
"maximum": 1439,
"minimum": 0,
"description": "Start time in minutes from midnight (0-1439). Example: 480 = 8:00 AM"
}
},
"description": "Granular outbound departure time range in minutes from midnight. Use this for precise time filtering (e.g., {min: 480, max: 780} for 8:00 AM - 1:00 PM). Cannot be used with outboundDepartureTimeBlocks.",
"additionalProperties": false
},
"outboundTotalDurationRange": {
"type": "object",
"properties": {
"max": {
"type": "number",
"description": "Maximum duration in minutes"
},
"min": {
"type": "number",
"description": "Minimum duration in minutes"
}
},
"description": "Outbound flight duration filter (e.g., 'under 3 hours' = {max: 180}). Minutes.",
"additionalProperties": false
},
"outboundDepartureTimeBlocks": {
"type": "array",
"items": {
"enum": [
"midnight",
"morning",
"afternoon",
"night"
],
"type": "string"
},
"description": "Filter outbound departure times. Use this to specify when you want to depart on the outgoing flight. e.g. ['morning', 'afternoon'] for departures before 6pm"
}
},
"description": "Flight filters to apply. When used with searchId (refinement), filters completely replace the previous filters. To preserve existing filters like airlines or departure times, include them again along with any new filters.",
"additionalProperties": false
},
"sorting": {
"enum": [
"score_desc",
"price_asc",
"duration_asc",
"leg1_departure_time_asc",
"leg1_departure_time_desc",
"leg2_departure_time_asc",
"leg2_departure_time_desc"
],
"type": "string",
"default": "score_desc",
"description": "Sort order for results. Pass a single string value. Options: score_desc (recommended, default), price_asc (cheapest), duration_asc (fastest), leg1_departure_time_asc/desc (outbound departure), leg2_departure_time_asc/desc (return departure, round-trip only)."
},
"pageSize": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Trips per page on a searchId read (default 20, max 50). Out-of-range or non-integer values are rejected, never clamped."
},
"searchId": {
"type": "string",
"description": "Reuse the searchId from a previous search when refining, filtering, sorting, or selecting."
},
"siteCode": {
"type": "string",
"pattern": "^(?:[A-Z]{2})?$",
"description": "The user's OWN country as an ISO 3166-1 alpha-2 code (e.g. 'SG', 'SA', 'IN'), when the conversation shows where the user is. It picks the Wego site that booking links open and the market prices come from. Do NOT take it from the departure, arrival or hotel city: a user in India searching London is still 'IN'. Omit it when unknown (default 'US'). Set it when the search is created; a searchId read keeps the search's site."
},
"newSearch": {
"type": "object",
"required": [
"from",
"to",
"fromDate"
],
"properties": {
"to": {
"type": "string",
"minLength": 1,
"description": "Arrival IATA code (required for a new search when searchId is omitted)."
},
"from": {
"type": "string",
"minLength": 1,
"description": "Departure IATA code (required for a new search when searchId is omitted)."
},
"toDate": {
"type": "string",
"description": "Return date in YYYY-MM-DD for round-trip searches. Omit entirely for one-way trips (do not send null or empty string)."
},
"fromDate": {
"type": "string",
"minLength": 1,
"description": "Departure date in YYYY-MM-DD (required for a new search when searchId is omitted)."
},
"cabinClass": {
"enum": [
"economy",
"premium_economy",
"business",
"first"
],
"type": "string",
"default": "economy",
"description": "Requested cabin class for the search"
},
"adultsCount": {
"type": "number",
"default": 1,
"maximum": 9,
"minimum": 1,
"description": "Number of adult passengers (18+). Default: 1. Example: 'my wife and I' = 2 adults"
},
"infantsCount": {
"type": "number",
"default": 0,
"maximum": 8,
"minimum": 0,
"description": "Number of infant passengers (under 2 years). Default: 0. Typically on parent's lap"
},
"childrenCount": {
"type": "number",
"default": 0,
"maximum": 8,
"minimum": 0,
"description": "Number of child passengers (2-17). Default: 0. Example: 'with my 5-year-old' = 1 child"
}
},
"description": "Parameters required to create a new flight search when searchId is not provided. Include route (from/to), travel dates (fromDate/toDate in YYYY-MM-DD), and passenger counts. Use this to start a new Wego metasearch; omit when refining/polling an existing search via searchId.",
"additionalProperties": false
},
"currencyCode": {
"type": "string",
"description": "The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversation, searchId reads included."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Discovers cheapest flight destinations from an origin city when the user has no specific destination in mind. Use for open-ended queries like 'where should I go?', 'cheapest flights from Dubai', 'surprise me', or 'best deals from Singapore'. Returns up to 15 cheapest destinations with prices, airlines, and travel dates. Do NOT use when user has a specific destination — use flights_search instead. Use IATA city codes from places_find_location.
| Parameter | Type | Description |
|---|---|---|
| locale | string | Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar'). |
| origin * | string | Departure city IATA code (e.g., DXB, SIN, LON) |
| tripType | string | Trip type: 'roundtrip' (default) or 'oneway' |
| returnDate | ref | Return date (YYYY-MM-DD). Optional; ignored for oneway trips. |
| currencyCode * | string | The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversa… |
| departureDate | string | Departure date (YYYY-MM-DD). Optional; API picks best dates if omitted. |
{
"name": "flights_search_anywhere",
"title": "Search Flights Anywhere",
"description": "Discovers cheapest flight destinations from an origin city when the user has no specific destination in mind. Use for open-ended queries like 'where should I go?', 'cheapest flights from Dubai', 'surprise me', or 'best deals from Singapore'. Returns up to 15 cheapest destinations with prices, airlines, and travel dates. Do NOT use when user has a specific destination — use flights_search instead. Use IATA city codes from places_find_location.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"origin",
"currencyCode"
],
"properties": {
"locale": {
"type": "string",
"description": "Locale for results (e.g., 'en', 'ar', 'zh'). If not provided, uses the locale from the user's settings. Supports BCP 47 format (e.g., 'ar-SA' resolves to 'ar')."
},
"origin": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Departure city IATA code (e.g., DXB, SIN, LON)"
},
"tripType": {
"enum": [
"roundtrip",
"oneway"
],
"type": "string",
"default": "roundtrip",
"description": "Trip type: 'roundtrip' (default) or 'oneway'"
},
"returnDate": {
"$ref": "#/properties/departureDate",
"description": "Return date (YYYY-MM-DD). Optional; ignored for oneway trips."
},
"currencyCode": {
"type": "string",
"description": "The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversation, searchId reads included."
},
"departureDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Departure date (YYYY-MM-DD). Optional; API picks best dates if omitted."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the nearest airport to given coordinates. Returns airport IATA code, name, and distance. Useful for determining departure airport when only coordinates are known.
| Parameter | Type | Description |
|---|---|---|
| locale | string | Locale for localized names (defaults to 'en') |
| latitude * | number | Latitude coordinate |
| longitude * | number | Longitude coordinate |
{
"name": "places_get_nearest_airport",
"title": "Get Nearest Airport",
"description": "Finds the nearest airport to given coordinates. Returns airport IATA code, name, and distance. Useful for determining departure airport when only coordinates are known.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"latitude",
"longitude"
],
"properties": {
"locale": {
"type": "string",
"description": "Locale for localized names (defaults to 'en')"
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude coordinate"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude coordinate"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Looks up public holidays for a country within a date range. Used for travel planning to find local holidays at the destination.
| Parameter | Type | Description |
|---|---|---|
| locale | string | Locale for localized holiday names (e.g., 'en', 'ar'). Defaults to 'en'. |
| end_date * | string | End date for the holiday search range in YYYY-MM-DD format. The range covers at most 366 days. |
| start_date * | string | Start date for the holiday search range in YYYY-MM-DD format |
| country_code * | string | ISO 3166-1 alpha-2 country code (e.g., 'SG', 'JP', 'US', 'TH') |
{
"name": "holidays_lookup",
"title": "Lookup Holidays",
"description": "Looks up public holidays for a country within a date range. Used for travel planning to find local holidays at the destination.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country_code",
"start_date",
"end_date"
],
"properties": {
"locale": {
"type": "string",
"description": "Locale for localized holiday names (e.g., 'en', 'ar'). Defaults to 'en'."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date for the holiday search range in YYYY-MM-DD format. The range covers at most 366 days."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date for the holiday search range in YYYY-MM-DD format"
},
"country_code": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "ISO 3166-1 alpha-2 country code (e.g., 'SG', 'JP', 'US', 'TH')"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Gets photos for one or more hotels (up to 8), up to 3 per category: rooms, bathrooms, dining, amenities such as the pool and gym, public spaces such as the lobby, exterior, views and nearby attractions. Hotels with no categories get up to 12 photos with no category. Use this tool for room photos too, because hotels_get_rooms gives only one image per room type. Use categoryFocus to show some categories first. missingHotelIds lists the hotels that could not be loaded.
| Parameter | Type | Description |
|---|---|---|
| locale | string | Locale for the hotel name (e.g., 'en', 'ar'). Category names and photo descriptions are always English. |
| hotelIds * | array | Array of hotel IDs to fetch photos for (1-8 hotels) |
| categoryFocus | array | Photo categories to show first (does not filter). Pool and gym photos are in Amenities, lobby photos are in Public Spaces. Categories: Rooms, Bathrooms, Dining, Amenities, Public Spaces, Exterior, Views, Nearby Attractions, Others. |
{
"name": "hotels_get_photos",
"title": "Get Hotel Photos",
"description": "Gets photos for one or more hotels (up to 8), up to 3 per category: rooms, bathrooms, dining, amenities such as the pool and gym, public spaces such as the lobby, exterior, views and nearby attractions. Hotels with no categories get up to 12 photos with no category. Use this tool for room photos too, because hotels_get_rooms gives only one image per room type. Use categoryFocus to show some categories first. missingHotelIds lists the hotels that could not be loaded.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"hotelIds"
],
"properties": {
"locale": {
"type": "string",
"description": "Locale for the hotel name (e.g., 'en', 'ar'). Category names and photo descriptions are always English."
},
"hotelIds": {
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0
},
"maxItems": 8,
"minItems": 1,
"description": "Array of hotel IDs to fetch photos for (1-8 hotels)"
},
"categoryFocus": {
"type": "array",
"items": {
"enum": [
"Rooms",
"Bathrooms",
"Dining",
"Amenities",
"Public Spaces",
"Exterior",
"Views",
"Nearby Attractions",
"Others"
],
"type": "string"
},
"description": "Photo categories to show first (does not filter). Pool and gym photos are in Amenities, lobby photos are in Public Spaces. Categories: Rooms, Bathrooms, Dining, Amenities, Public Spaces, Exterior, Views, Nearby Attractions, Others."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Gets room rates for a specific hotel. Returns room types with pricing from multiple providers. Each rate's perNight price covers all rooms in the search together, for one night. Requires hotelId and searchId from a prior hotels_search call. If status is "incomplete", more rates are still loading: wait pollAgainInSeconds and call once more with the same arguments.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
| locale | string | Locale for results (default: 'en') |
| hotelId * | integer | Hotel ID from a previous hotels_search result |
| perPage | integer | Room types per page, 1-10 (default: 10) |
| searchId * | string | Search ID from a previous hotels_search result |
| currencyCode * | string | The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversa… |
{
"name": "hotels_get_rooms",
"title": "Get Hotel Rooms",
"description": "Gets room rates for a specific hotel. Returns room types with pricing from multiple providers. Each rate's perNight price covers all rooms in the search together, for one night. Requires hotelId and searchId from a prior hotels_search call. If status is \"incomplete\", more rates are still loading: wait pollAgainInSeconds and call once more with the same arguments.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"hotelId",
"searchId",
"currencyCode"
],
"properties": {
"page": {
"type": "integer",
"minimum": 1,
"description": "Page number (default: 1)"
},
"locale": {
"type": "string",
"description": "Locale for results (default: 'en')"
},
"hotelId": {
"type": "integer",
"description": "Hotel ID from a previous hotels_search result",
"exclusiveMinimum": 0
},
"perPage": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "Room types per page, 1-10 (default: 10)"
},
"searchId": {
"type": "string",
"description": "Search ID from a previous hotels_search result"
},
"currencyCode": {
"type": "string",
"description": "The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversation, searchId reads included."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Searches for hotels by city, location or hotel ID. Not for restaurants, activities, car rentals or non-travel queries. Call places_find_location first: types=["city"] for a cityCode, types=["poi"] for coordinates, types=["hotel"] for a hotelId. Each price is per night for all rooms in the search together. With 2 rooms, one price covers both rooms. Polling flow: 1. Call without searchId. It returns a searchId at once (status "created", pollAgainInSeconds: 5). 2. Wait pollAgainInSeconds, then call with searchId. Status is "incomplete" (better rates still arriving) or "complete" (all providers answered). 3. While status is "incomplete", wait pollAgainInSeconds and call again. Stop at "complete". After 3 reads, use the results you have. Once complete, every read (new filters, sorting or page) returns "complete" at once. Use one search type per new search: - citySearch: a city. For "near the airport" sort by "distance_from_nearest_airport_asc". For "downtown" sort by "distance_from_center_asc". - geoSearch: a named airport, landmark or POI, sorted by "distance_asc". Radius 10km for a landmark, 20km for an airport, or the radius the user gives. - hotelSearch: one hotel by ID. Refinement: call with the searchId and new filters, sorting or pagination. Filters replace the previous filters entirely, so send again the ones to keep. Filter options: a page 1 read with searchId returns filterOptions with the amenities, roomAmenities, brands, chains and propertyTypes of this search. Later pages do not. The lists are partial while status is "incomplete" and final at "complete". Each entry is { name, count }, where count is the approximate number of hotels in the whole search with that value, before filters. Amenity counts can be low. Each name is a valid value for the filter of the same name. Use these names in filters instead of guessing.
| Parameter | Type | Description |
|---|---|---|
| rooms | array | Room config (e.g., [{adultsCount: 2, childrenCount: 1, childrenAges: [8]}]). REQUIRED when childrenCount > 0: ask for ages before searching. |
| locale | string | Locale code (e.g., 'en', 'ar'). Default: 'en'. |
| checkIn | string | Check-in date in YYYY-MM-DD. |
| filters | object | Filters to apply to search results. |
| sorting | string | Sort order (e.g., 'cheapest first' = 'price_asc', 'closest to center' = 'distance_from_center_asc'). Default: relevance. |
| checkOut | string | Check-out date in YYYY-MM-DD. |
| searchId | string | Reuse the searchId from a previous search when refining filters or sorting. |
| siteCode | string | The user's OWN country as an ISO 3166-1 alpha-2 code (e.g. 'SG', 'SA', 'IN'), when the conversation shows where the user is. It picks the Wego site that booking links open and the market prices come from. Do NOT take it from the departure, arrival or hotel city: a user in India searching London is s… |
| geoSearch | object | Hotels near a location (e.g., 'near Eiffel Tower' = {latitude: 48.8584, longitude: 2.2945}). Use places_find_location for coordinates. |
| citySearch | object | Hotels in a city (e.g., 'hotels in Dubai' = {cityCode: 'DXB'}). |
| pagination | object | Pagination settings |
| hotelSearch | object | Single hotel by ID (e.g., {hotelId: 12345}). |
| currencyCode * | string | The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversa… |
{
"name": "hotels_search",
"title": "Search Hotels",
"description": "Searches for hotels by city, location or hotel ID. Not for restaurants, activities, car rentals or non-travel queries. Call places_find_location first: types=[\"city\"] for a cityCode, types=[\"poi\"] for coordinates, types=[\"hotel\"] for a hotelId.\n\nEach price is per night for all rooms in the search together. With 2 rooms, one price covers both rooms.\n\nPolling flow:\n1. Call without searchId. It returns a searchId at once (status \"created\", pollAgainInSeconds: 5).\n2. Wait pollAgainInSeconds, then call with searchId. Status is \"incomplete\" (better rates still arriving) or \"complete\" (all providers answered).\n3. While status is \"incomplete\", wait pollAgainInSeconds and call again. Stop at \"complete\". After 3 reads, use the results you have.\nOnce complete, every read (new filters, sorting or page) returns \"complete\" at once.\n\nUse one search type per new search:\n- citySearch: a city. For \"near the airport\" sort by \"distance_from_nearest_airport_asc\". For \"downtown\" sort by \"distance_from_center_asc\".\n- geoSearch: a named airport, landmark or POI, sorted by \"distance_asc\". Radius 10km for a landmark, 20km for an airport, or the radius the user gives.\n- hotelSearch: one hotel by ID.\n\nRefinement: call with the searchId and new filters, sorting or pagination. Filters replace the previous filters entirely, so send again the ones to keep.\n\nFilter options: a page 1 read with searchId returns filterOptions with the amenities, roomAmenities, brands, chains and propertyTypes of this search. Later pages do not. The lists are partial while status is \"incomplete\" and final at \"complete\". Each entry is { name, count }, where count is the approximate number of hotels in the whole search with that value, before filters. Amenity counts can be low. Each name is a valid value for the filter of the same name. Use these names in filters instead of guessing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"currencyCode"
],
"properties": {
"rooms": {
"type": "array",
"items": {
"type": "object",
"required": [
"adultsCount",
"childrenCount"
],
"properties": {
"adultsCount": {
"type": "integer",
"description": "Number of adults in the room (will be clamped to minimum 1)"
},
"childrenAges": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Ages of each child (0-17). REQUIRED when childrenCount > 0 — if the user hasn't specified ages, ask them before searching. Do NOT guess or infer ages from other numbers like dates. Array format even for one child, e.g., [8] not 8."
},
"childrenCount": {
"type": "integer",
"description": "Number of children in the room (will be clamped to minimum 0)"
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Room config (e.g., [{adultsCount: 2, childrenCount: 1, childrenAges: [8]}]). REQUIRED when childrenCount > 0: ask for ages before searching."
},
"locale": {
"type": "string",
"description": "Locale code (e.g., 'en', 'ar'). Default: 'en'."
},
"checkIn": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Check-in date in YYYY-MM-DD."
},
"filters": {
"type": "object",
"properties": {
"brands": {
"type": "array",
"items": {
"type": "string"
},
"description": "Hotel brand names (OR logic). Short names match best (e.g., 'Holiday Inn' not 'Holiday Inn Express by IHG'). Fuzzy matching finds the closest match."
},
"chains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Parent hotel chains/groups (OR logic). Short names match best (e.g., 'Marriott' not 'Marriott - Marriott Rewards'). When user says 'Hilton hotels', use chains, not brands."
},
"amenities": {
"type": "array",
"items": {
"type": "string"
},
"description": "Hotel property amenities — all must match (AND logic). Covers wifi, pool, parking, gym, spa, beach, restaurant, pet-friendly, etc. Short terms match best (e.g., 'wifi' not 'Free WiFi', 'pool' not 'Swimming Pool'). Fuzzy matching finds the closest match."
},
"priceRange": {
"type": "object",
"properties": {
"max": {
"type": "number",
"description": "Maximum price per night for all rooms together. A negative value becomes 0."
},
"min": {
"type": "number",
"description": "Minimum price per night for all rooms together. A negative value becomes 0."
}
},
"description": "Budget filter on the price per night for all rooms together, in currencyCode. To filter on a per-room budget, multiply it by the number of rooms. For a total-stay budget, divide it by the number of nights. Examples: '2 rooms, under USD 50 for each room per night' = {max: 100}. 'USD 600 for 3 nights, 2 rooms' = {max: 200}.",
"additionalProperties": false
},
"starRating": {
"type": "object",
"properties": {
"max": {
"type": "integer",
"description": "Maximum star rating (will be clamped to 0-5 range)"
},
"min": {
"type": "integer",
"description": "Minimum star rating (will be clamped to 0-5 range)"
}
},
"description": "Hotel class filter (e.g., '4-star or above' = {min: 4}, '3 to 4 stars' = {min: 3, max: 4}).",
"additionalProperties": false
},
"reviewScore": {
"type": "object",
"properties": {
"max": {
"type": "number",
"description": "Maximum guest review score (will be clamped to 0-10 range)"
},
"min": {
"type": "number",
"description": "Minimum guest review score (will be clamped to 0-10 range)"
}
},
"description": "Guest satisfaction filter on 0-10 scale (e.g., 'highly rated' = {min: 8}).",
"additionalProperties": false
},
"propertyTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Accommodation type filter (e.g., 'resorts only' = ['Resort'], 'hotel or apartment' = ['Hotel', 'Apartment']). Short terms match best."
},
"roomAmenities": {
"type": "array",
"items": {
"type": "string"
},
"description": "Room-level amenities — all must match (AND logic). Covers room-specific features like 'bathtub', 'balcony', 'minibar', 'kitchen', 'free cancellation'. NOT for property-wide facilities (wifi, pool, gym) — those go in amenities."
}
},
"description": "Filters to apply to search results.",
"additionalProperties": false
},
"sorting": {
"enum": [
"relevance",
"price_asc",
"price_desc",
"star_rating_asc",
"star_rating_desc",
"review_score_asc",
"review_score_desc",
"distance_asc",
"distance_from_center_asc",
"distance_from_nearest_airport_asc"
],
"type": "string",
"default": "relevance",
"description": "Sort order (e.g., 'cheapest first' = 'price_asc', 'closest to center' = 'distance_from_center_asc'). Default: relevance."
},
"checkOut": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Check-out date in YYYY-MM-DD."
},
"searchId": {
"type": "string",
"description": "Reuse the searchId from a previous search when refining filters or sorting."
},
"siteCode": {
"type": "string",
"pattern": "^(?:[A-Z]{2})?$",
"description": "The user's OWN country as an ISO 3166-1 alpha-2 code (e.g. 'SG', 'SA', 'IN'), when the conversation shows where the user is. It picks the Wego site that booking links open and the market prices come from. Do NOT take it from the departure, arrival or hotel city: a user in India searching London is still 'IN'. Omit it when unknown (default 'US'). Set it when the search is created; a searchId read keeps the search's site."
},
"geoSearch": {
"type": "object",
"required": [
"longitude",
"latitude"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the reference point for display (e.g., 'Burj Khalifa', 'Mall of the Emirates')"
},
"radius": {
"type": "number",
"description": "Search radius in kilometers (minimum 10km enforced). Recommended values: 10km for city landmarks, 20km for airports, 30km for rural areas"
},
"latitude": {
"type": "number",
"description": "Latitude coordinate (will be clamped to -90 to 90 range)"
},
"longitude": {
"type": "number",
"description": "Longitude coordinate (will be clamped to -180 to 180 range)"
}
},
"description": "Hotels near a location (e.g., 'near Eiffel Tower' = {latitude: 48.8584, longitude: 2.2945}). Use places_find_location for coordinates.",
"additionalProperties": false
},
"citySearch": {
"type": "object",
"required": [
"cityCode"
],
"properties": {
"cityCode": {
"type": "string",
"description": "City code (IATA format, e.g., 'DXB', 'SIN')"
}
},
"description": "Hotels in a city (e.g., 'hotels in Dubai' = {cityCode: 'DXB'}).",
"additionalProperties": false
},
"pagination": {
"type": "object",
"default": {
"page": 1,
"perPage": 8
},
"properties": {
"page": {
"type": "integer",
"default": 1,
"description": "Page number for pagination (will be clamped to minimum 1)"
},
"perPage": {
"type": "integer",
"default": 8,
"description": "Number of results per page (will be clamped to 1-100 range)"
}
},
"description": "Pagination settings",
"additionalProperties": false
},
"hotelSearch": {
"type": "object",
"required": [
"hotelId"
],
"properties": {
"hotelId": {
"type": "integer",
"description": "Hotel ID for single hotel search"
}
},
"description": "Single hotel by ID (e.g., {hotelId: 12345}).",
"additionalProperties": false
},
"currencyCode": {
"type": "string",
"description": "The currency the user pays in, as an ISO 4217 code (e.g. 'SAR', 'INR', 'USD'): the one they ask for, else the currency of their own country (siteCode). Do NOT take it from the destination: a user in India booking Dubai pays in 'INR'. Send the same code on every flight and hotel call in this conversation, searchId reads included."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Search for cities, airports, districts, states, hotels, or points of interest by name. Returns location codes, IDs, and coordinates. Supports pagination (default: 10 results per page). PLACE TYPES: Filter by specific types using the 'types' parameter: - city: Major cities (returns cityCode like "DXB", "PAR") - airport: Airports (returns IATA codes like "JFK", "LHR") - district: Neighborhoods within cities (returns districtId) - state: States, provinces, regions - hotel: Individual hotels (returns hotelId) - poi: Points of interest, landmarks (returns coordinates) If 'types' is omitted, returns all matching place types. POI SEARCH WITH LOCATION BIAS: POI search uses Google Places API. You can optionally provide locationBias (approximate coordinates) to improve result relevance when geographic context is known. When to provide locationBias: - User mentions a city: "Eiffel Tower in Paris" (provide Paris coordinates) - Previous conversation context provides location - You recognize the landmark location When NOT to provide locationBias: - No geographic context available - Uncertain about location - Global/ambiguous landmarks EXAMPLES: Find city: { query: "Dubai" } returns cityCode: "DXB" Find district: { query: "Downtown Dubai", types: ["district"] } returns districtId Find airports: { query: "New York", types: ["airport"] } returns JFK, LGA, EWR Find hotel: { query: "Burj Al Arab", types: ["hotel"] } returns hotelId Find POI with bias: { query: "Eiffel Tower", types: ["poi"], locationBias: { latitude: 48.85, longitude: 2.35 } } Find POI without bias: { query: "Marina Bay Sands", types: ["poi"] } Pagination: { query: "hotel", pageSize: 10, page: 2 } returns results 11-20 AMBIGUITY HANDLING: When multiple locations match, response includes hasAmbiguity: true and disambiguationHint. Ask user to specify which location. NOTES: - locationBias is optional (text search works without it) - Approximate coordinates are fine (city-level accuracy) - Location bias improves relevance but doesn't exclude other regions
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number for pagination (default: 1) |
| query * | string | Search query for the location |
| types | array | Array of place types to filter results. If omitted, returns all types. |
| locale | string | Locale code for localized results (falls back to user's locale from platform metadata) |
| pageSize | integer | Number of results per page (default: 10, max: 50) |
| locationBias | object | Optional coordinates to bias POI search results. Useful when searching for landmarks in a specific region. The LLM can provide approximate city/region coordinates based on context. |
{
"name": "places_find_location",
"title": "Find Location",
"description": "Search for cities, airports, districts, states, hotels, or points of interest by name. Returns location codes, IDs, and coordinates. Supports pagination (default: 10 results per page).\n\nPLACE TYPES:\nFilter by specific types using the 'types' parameter:\n- city: Major cities (returns cityCode like \"DXB\", \"PAR\")\n- airport: Airports (returns IATA codes like \"JFK\", \"LHR\")\n- district: Neighborhoods within cities (returns districtId)\n- state: States, provinces, regions\n- hotel: Individual hotels (returns hotelId)\n- poi: Points of interest, landmarks (returns coordinates)\n\nIf 'types' is omitted, returns all matching place types.\n\nPOI SEARCH WITH LOCATION BIAS:\nPOI search uses Google Places API. You can optionally provide locationBias (approximate coordinates) to improve result relevance when geographic context is known.\n\nWhen to provide locationBias:\n- User mentions a city: \"Eiffel Tower in Paris\" (provide Paris coordinates)\n- Previous conversation context provides location\n- You recognize the landmark location\n\nWhen NOT to provide locationBias:\n- No geographic context available\n- Uncertain about location\n- Global/ambiguous landmarks\n\nEXAMPLES:\nFind city: { query: \"Dubai\" } returns cityCode: \"DXB\"\nFind district: { query: \"Downtown Dubai\", types: [\"district\"] } returns districtId\nFind airports: { query: \"New York\", types: [\"airport\"] } returns JFK, LGA, EWR\nFind hotel: { query: \"Burj Al Arab\", types: [\"hotel\"] } returns hotelId\nFind POI with bias: { query: \"Eiffel Tower\", types: [\"poi\"], locationBias: { latitude: 48.85, longitude: 2.35 } }\nFind POI without bias: { query: \"Marina Bay Sands\", types: [\"poi\"] }\nPagination: { query: \"hotel\", pageSize: 10, page: 2 } returns results 11-20\n\nAMBIGUITY HANDLING:\nWhen multiple locations match, response includes hasAmbiguity: true and disambiguationHint. Ask user to specify which location.\n\nNOTES:\n- locationBias is optional (text search works without it)\n- Approximate coordinates are fine (city-level accuracy)\n- Location bias improves relevance but doesn't exclude other regions",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Page number for pagination (default: 1)"
},
"query": {
"type": "string",
"minLength": 1,
"description": "Search query for the location"
},
"types": {
"type": "array",
"items": {
"enum": [
"city",
"airport",
"state",
"district",
"hotel",
"poi"
],
"type": "string"
},
"description": "Array of place types to filter results. If omitted, returns all types."
},
"locale": {
"type": "string",
"description": "Locale code for localized results (falls back to user's locale from platform metadata)"
},
"pageSize": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Number of results per page (default: 10, max: 50)"
},
"locationBias": {
"type": "object",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude for location bias (helps narrow POI search results)"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude for location bias (helps narrow POI search results)"
}
},
"description": "Optional coordinates to bias POI search results. Useful when searching for landmarks in a specific region. The LLM can provide approximate city/region coordinates based on context.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Wego searches live flight and hotel prices. Flight search and hotel search work the same way: - Start a search with flights_search or hotels_search. The first call returns a searchId and no results. - Wait pollAgainInSeconds, then call the same tool with that searchId. Repeat while status is "incomplete". Stop when status is "complete", or after 3 reads. - To change filters, sorting or page, call again with the same searchId. New filters replace the old ones, so send the ones you want to keep. - Call places_find_location first when you need a city code, an airport code, a hotel ID or coordinates. - A hotel price is per night for all rooms in the search together. - Prices are live and can change. Give the user the price, the currency and the link from the result. Do not invent a price or a link.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.