Flight Schedule
flights_scheduleGets 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.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "flights_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival city or airport code (IATA, e.g., 'BKK' or 'LHR'). An airport code gives its city's timetable. | |
| from | Yes | Departure city or airport code (IATA, e.g., 'SIN' or 'LHR'). An airport code gives its city's timetable. | |
| page | No | Page of flights, 1-based (default 1). Rarely needed: most routes fit on one page. | |
| locale | No | 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 | No | Optional: Filter by airline code (2-letter IATA code, e.g., 'EK', 'SQ') | |
| pageSize | No | Flights per page (default and max 200). Use it to narrow a long answer. |