demo · Travel & Booking · JSON · API for agents
Search for available flights between cities. Returns detailed flight information including airline, price, times, stops, duration, aircraft type, amenities, and seat details.
{
"name": "search_flights",
"kind": "read",
"impl": "imperative",
"description": "Search for available flights between cities. Returns detailed flight information including airline, price, times, stops, duration, aircraft type, amenities, and seat details.",
"inputSchema": {
"type": "object",
"properties": {
"origin": {
"type": "string",
"description": "The origin city for the flight"
},
"destination": {
"type": "string",
"description": "The destination city for the flight"
},
"departureDate": {
"type": "string",
"description": "The departure date in YYYY-MM-DD format"
},
"returnDate": {
"type": "string",
"description": "The return date in YYYY-MM-DD format. Omit for one-way trips."
},
"passengers": {
"type": "number",
"description": "The number of passengers (1-8)"
}
},
"required": [
"origin",
"destination",
"departureDate",
"passengers"
]
},
"page": "/"
}