← WebMCP Directory

Tool tree

ajet.com

Travel & EventsTools verified
Website
Search AJet flights and explore routes, travel dates and fares.
Explore capabilities
    searchFlightsAnswer

    Search AJet flight availability for a route and date. Returns flight options with flight number, times, duration, stops and the lowest available price, plus the total number of flights found. Only outbound flights are ever returned, even for a round trip - see returnDate. Omitted fields mean the default: no stops, same-day arrival, seats available. Read-only: it never books, holds or modifies anything.

    View tool JSON
    {
      "name": "searchFlights",
      "kind": "answer",
      "impl": "imperative",
      "description": "Search AJet flight availability for a route and date. Returns flight options with flight number, times, duration, stops and the lowest available price, plus the total number of flights found. Only outbound flights are ever returned, even for a round trip - see returnDate. Omitted fields mean the default: no stops, same-day arrival, seats available. Read-only: it never books, holds or modifies anything.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination",
          "departureDate"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\". A city code such as \"ANK\" is also accepted."
          },
          "departureDate": {
            "type": "string",
            "description": "Departure date in YYYY-MM-DD format."
          },
          "returnDate": {
            "type": "string",
            "description": "Optional return date, YYYY-MM-DD. Prices the outbound leg as a round trip; return flights are never returned by this tool - use openFlightSearch."
          },
          "adults": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9,
            "description": "Number of adult passengers. Defaults to 1."
          },
          "children": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "description": "Number of child passengers (2-12 years). Defaults to 0."
          },
          "infants": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "description": "Number of infant passengers (under 2). Defaults to 0."
          },
          "currencyCode": {
            "type": "string",
            "description": "Optional ISO currency code for the returned prices, e.g. \"TRY\" or \"EUR\"."
          }
        }
      },
      "page": "/tr"
    }
    getCalendarPricesAnswer

    Get the cheapest AJet fare per day for one or more months on a given route. Useful for answering "which day is cheapest to fly". For each month "days" maps the day of the month to that day's cheapest fare in the returned currency; a null price means no fare (also listed under "noFlight"/"noSeat"). "samePriceAllDays" means every day costs the same, so no day is cheaper. Read-only.

    View tool JSON
    {
      "name": "getCalendarPrices",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the cheapest AJet fare per day for one or more months on a given route. Useful for answering \"which day is cheapest to fly\". For each month \"days\" maps the day of the month to that day's cheapest fare in the returned currency; a null price means no fare (also listed under \"noFlight\"/\"noSeat\"). \"samePriceAllDays\" means every day costs the same, so no day is cheaper. Read-only.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination",
          "months"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted and is resolved to the airport AJet serves."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\". A city code such as \"ANK\" is also accepted and is resolved to the airport AJet serves."
          },
          "months": {
            "type": "array",
            "minItems": 1,
            "maxItems": 2,
            "items": {
              "type": "string"
            },
            "description": "Months to query, each as \"YYYY-MM\" (e.g. [\"2026-09\", \"2026-10\"]). At most 2."
          },
          "currency": {
            "type": "string",
            "description": "Optional ISO currency code for the returned prices, e.g. \"TRY\" or \"EUR\"."
          }
        }
      },
      "page": "/tr"
    }
    getAirportInfoAnswer

    Look up AJet airports. With no arguments it returns the full list of departure airports. With "query" it filters by IATA code, airport name, city or country. With "fromAirport" it returns the destinations reachable from that airport. Read-only.

    View tool JSON
    {
      "name": "getAirportInfo",
      "kind": "answer",
      "impl": "imperative",
      "description": "Look up AJet airports. With no arguments it returns the full list of departure airports. With \"query\" it filters by IATA code, airport name, city or country. With \"fromAirport\" it returns the destinations reachable from that airport. Read-only.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "maxLength": 100,
            "description": "Optional free-text filter: IATA code (\"ESB\"), airport name, city (\"Ankara\") or country. At most 100 characters."
          },
          "fromAirport": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Optional departure airport IATA code. When given, returns the destinations served from that airport instead of the full list."
          }
        }
      },
      "page": "/tr"
    }
    getCheapestFaresAnswer

    Get the cheapest AJet one-way fares for the days around a given date on a route (a "flexible dates" view). Useful for "is it cheaper a day earlier or later". "samePriceAllDays" means no day is cheaper than another. Read-only.

    View tool JSON
    {
      "name": "getCheapestFares",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the cheapest AJet one-way fares for the days around a given date on a route (a \"flexible dates\" view). Useful for \"is it cheaper a day earlier or later\". \"samePriceAllDays\" means no day is cheaper than another. Read-only.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination",
          "departureDate"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\"."
          },
          "departureDate": {
            "type": "string",
            "description": "Reference date in YYYY-MM-DD format; results cover the days around it."
          },
          "dateOffset": {
            "type": "integer",
            "minimum": 1,
            "maximum": 3,
            "description": "How many days before/after the reference date to include. Defaults to 2."
          },
          "adults": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9,
            "description": "Number of adult passengers. Defaults to 1."
          },
          "currencyCode": {
            "type": "string",
            "description": "Optional ISO currency code for the returned prices, e.g. \"TRY\"."
          }
        }
      },
      "page": "/tr"
    }
    getFlightDatesAnswer

    List the dates AJet actually flies a route, so a day can be picked before pricing it. Returns the available departure dates between startDate and endDate as YYYY-MM-DD, ready to pass to searchFlights or getCheapestFares. An empty list means the route is not flown in that range. Read-only.

    View tool JSON
    {
      "name": "getFlightDates",
      "kind": "answer",
      "impl": "imperative",
      "description": "List the dates AJet actually flies a route, so a day can be picked before pricing it. Returns the available departure dates between startDate and endDate as YYYY-MM-DD, ready to pass to searchFlights or getCheapestFares. An empty list means the route is not flown in that range. Read-only.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination",
          "startDate"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted and is resolved to the airport AJet serves."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\". A city code such as \"ANK\" is also accepted and is resolved to the airport AJet serves."
          },
          "startDate": {
            "type": "string",
            "description": "First date of the range to check, in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "description": "Optional last date of the range, in YYYY-MM-DD format. Defaults to 30 days after startDate."
          }
        }
      },
      "page": "/tr"
    }
    getPassengerTypesAnswer

    List the passenger types AJet sells on a route, including discounted ones such as student or teacher, with the age limits that apply. Useful for "is there a student discount on this route". Types marked "special" need proof of eligibility at the airport; searchFlights prices adults, children and infants only, so it cannot quote a discounted fare. Read-only.

    View tool JSON
    {
      "name": "getPassengerTypes",
      "kind": "answer",
      "impl": "imperative",
      "description": "List the passenger types AJet sells on a route, including discounted ones such as student or teacher, with the age limits that apply. Useful for \"is there a student discount on this route\". Types marked \"special\" need proof of eligibility at the airport; searchFlights prices adults, children and infants only, so it cannot quote a discounted fare. Read-only.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted and is resolved to the airport AJet serves."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\". A city code such as \"ANK\" is also accepted and is resolved to the airport AJet serves."
          }
        }
      },
      "page": "/tr"
    }
    getCurrenciesAnswer

    Lists the currency codes AJet can show fares in, and which one the page is currently using. Use a listed code as "currencyCode" in the fare tools. Makes no request. Read-only.

    View tool JSON
    {
      "name": "getCurrencies",
      "kind": "answer",
      "impl": "imperative",
      "description": "Lists the currency codes AJet can show fares in, and which one the page is currently using. Use a listed code as \"currencyCode\" in the fare tools. Makes no request. Read-only.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/tr"
    }
    askFaqAnswer

    Answer a customer question from AJet's own published help content: baggage, pets, children and infants, check-in, seat and meal selection, special assistance and accessibility, discounts, invoices, refunds and changes. Returns the closest matching questions with their answers, in the language the page is shown in. Use this instead of relying on general airline knowledge. Ask one topic per call; a narrower question returns a fuller answer. Read-only.

    View tool JSON
    {
      "name": "askFaq",
      "kind": "answer",
      "impl": "imperative",
      "description": "Answer a customer question from AJet's own published help content: baggage, pets, children and infants, check-in, seat and meal selection, special assistance and accessibility, discounts, invoices, refunds and changes. Returns the closest matching questions with their answers, in the language the page is shown in. Use this instead of relying on general airline knowledge. Ask one topic per call; a narrower question returns a fuller answer. Read-only.",
      "inputSchema": {
        "type": "object",
        "required": [
          "query"
        ],
        "properties": {
          "query": {
            "type": "string",
            "description": "The question in the user's own words, e.g. \"how much cabin baggage can I take\". One topic per call; specific questions match better than broad ones."
          }
        }
      },
      "page": "/tr"
    }
    openFlightSearchAction

    Runs an AJet flight search in the page the user is looking at and opens the results, exactly as pressing Search would. Use this to show the user results; use searchFlights instead to read the data yourself. Refuses while the user is in a booking flow so their progress is not lost.

    View tool JSON
    {
      "name": "openFlightSearch",
      "kind": "act",
      "impl": "imperative",
      "description": "Runs an AJet flight search in the page the user is looking at and opens the results, exactly as pressing Search would. Use this to show the user results; use searchFlights instead to read the data yourself. Refuses while the user is in a booking flow so their progress is not lost.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination",
          "departureDate"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\". A city code such as \"ANK\" is also accepted."
          },
          "departureDate": {
            "type": "string",
            "description": "Departure date in YYYY-MM-DD format."
          },
          "returnDate": {
            "type": "string",
            "description": "Optional return date in YYYY-MM-DD format. Its presence makes the search a round trip, so the outbound leg is priced under round-trip fare rules."
          },
          "adults": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9,
            "description": "Number of adult passengers. Defaults to 1."
          },
          "children": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "description": "Number of child passengers (2-12 years). Defaults to 0."
          },
          "infants": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "description": "Number of infant passengers (under 2). Defaults to 0."
          }
        }
      },
      "page": "/tr"
    }
    openCheapestDayAction

    Find the cheapest day to fly in a given month on an AJet route and open the results for that day in the page the user is looking at, in one step. Use this for "when is it cheapest to fly in September, show me". Replaces calling getCalendarPrices and then openFlightSearch. If every day costs the same it says so and opens the earliest one. Past days are skipped. Refuses while the user is in a booking flow so their progress is not lost.

    View tool JSON
    {
      "name": "openCheapestDay",
      "kind": "act",
      "impl": "imperative",
      "description": "Find the cheapest day to fly in a given month on an AJet route and open the results for that day in the page the user is looking at, in one step. Use this for \"when is it cheapest to fly in September, show me\". Replaces calling getCalendarPrices and then openFlightSearch. If every day costs the same it says so and opens the earliest one. Past days are skipped. Refuses while the user is in a booking flow so their progress is not lost.",
      "inputSchema": {
        "type": "object",
        "required": [
          "origin",
          "destination",
          "month"
        ],
        "properties": {
          "origin": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Departure airport IATA code, e.g. \"SAW\". A city code such as \"IST\" is also accepted."
          },
          "destination": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "description": "Arrival airport IATA code, e.g. \"ESB\". A city code such as \"ANK\" is also accepted."
          },
          "month": {
            "type": "string",
            "description": "Month to search, as \"YYYY-MM\" (e.g. \"2026-09\"). One month per call."
          },
          "adults": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9,
            "description": "Number of adult passengers. Defaults to 1."
          },
          "children": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "description": "Number of child passengers (2-12 years). Defaults to 0."
          },
          "infants": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "description": "Number of infant passengers (under 2). Defaults to 0."
          }
        }
      },
      "page": "/tr"
    }
    availability.getShownFlightsAnswer

    Reads the flight results the user is currently looking at, in the order and with the filters and sort they see on screen. Makes no request and starts no new search. Use it to answer questions about the visible list; use searchFlights for a different route or date.

    View tool JSON
    {
      "name": "availability.getShownFlights",
      "kind": "answer",
      "impl": "imperative",
      "description": "Reads the flight results the user is currently looking at, in the order and with the filters and sort they see on screen. Makes no request and starts no new search. Use it to answer questions about the visible list; use searchFlights for a different route or date.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/tr"
    }
    availability.getSelectionAnswer

    Reads which flight and fare package the user has already selected on the results page, per direction (OUTBOUND / RETURN). Makes no request. Returns an empty selection if nothing is chosen yet.

    View tool JSON
    {
      "name": "availability.getSelection",
      "kind": "answer",
      "impl": "imperative",
      "description": "Reads which flight and fare package the user has already selected on the results page, per direction (OUTBOUND / RETURN). Makes no request. Returns an empty selection if nothing is chosen yet.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "page": "/tr"
    }
    availability.filterFlightsAction

    Filters the flight results the user is currently looking at, by stop count and departure time of day. Only changes what is displayed — no new search is made and nothing is booked. Call with no arguments to clear the filter. Read-only alternative: searchFlights returns the data without touching the screen.

    View tool JSON
    {
      "name": "availability.filterFlights",
      "kind": "act",
      "impl": "imperative",
      "description": "Filters the flight results the user is currently looking at, by stop count and departure time of day. Only changes what is displayed — no new search is made and nothing is booked. Call with no arguments to clear the filter. Read-only alternative: searchFlights returns the data without touching the screen.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "direct": {
            "type": "boolean",
            "description": "Show non-stop flights. Defaults to false (no filter)."
          },
          "connecting": {
            "type": "boolean",
            "description": "Show connecting flights. Defaults to false (no filter)."
          },
          "timeRanges": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "morning",
                "noon",
                "evening"
              ]
            },
            "description": "Departure time of day to keep: morning (06:00 - 12:00), noon (12:00 - 18:00), evening (18:00 - 06:00). Empty means all times."
          }
        }
      },
      "page": "/tr"
    }
    availability.sortFlightsAction

    Sorts the flight results the user is currently looking at. Only changes the display order — no new search is made.

    View tool JSON
    {
      "name": "availability.sortFlights",
      "kind": "act",
      "impl": "imperative",
      "description": "Sorts the flight results the user is currently looking at. Only changes the display order — no new search is made.",
      "inputSchema": {
        "type": "object",
        "required": [
          "sortBy"
        ],
        "properties": {
          "sortBy": {
            "type": "string",
            "enum": [
              "departure-time",
              "price-asc",
              "price-desc",
              "flight-duration"
            ],
            "description": "One of: departure-time, price-asc (cheapest first), price-desc, flight-duration (shortest first)."
          }
        }
      },
      "page": "/tr"
    }