search_flights
Find Southwest Airlines flights between airports with fare options and pricing for Wanna Get Away, Anytime, and Business Select fares. Search by dollars or Rapid Rewards points for one-way or round-trip travel.
Instructions
Search for available Southwest Airlines flights between two airports. Returns flights with fare options (Wanna Get Away, Anytime, Business Select) and pricing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"originAirport": "<originAirport>",
"destinationAirport": "<destinationAirport>",
"departureDate": "<departureDate>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originAirport | Yes | Origin airport code (e.g. DAL, HOU, LAX) | |
| destinationAirport | Yes | Destination airport code (e.g. DAL, HOU, LAX) | |
| departureDate | Yes | Departure date in YYYY-MM-DD format (e.g. 2024-03-15) | |
| returnDate | No | Return date in YYYY-MM-DD format for round trips (e.g. 2024-03-20) | |
| passengers | No | Number of passengers (1-8) | |
| tripType | No | Trip type: roundtrip or oneway | |
| fareType | No | Search by dollars (USD) or Rapid Rewards points (PTS) |