ClosestAirportSchema#
- class langchain_community.tools.amadeus.closest_airport.ClosestAirportSchema[source]#
Bases:
BaseModel
Schema for the AmadeusClosestAirport tool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param location: str [Required]#
The location for which you would like to find the nearest airport along with optional details such as country, state, region, or province, allowing for easy processing and identification of the closest airport. Examples of the format are the following: Cali, Colombia
Lincoln, Nebraska, United States
New York, United States Sydney, New South Wales, Australia Rome, Lazio, Italy Toronto, Ontario, Canada