get_flight_summary_count
Count flights matching specified criteria, such as route, aircraft, or airline, within a date range. Requires start and end datetime plus at least one filter.
Instructions
Returns the number of flights for a given flight summary query. IMPORTANT: flight_datetime_from and flight_datetime_to are required, and at least one additional search parameter should be provided.
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": {
"flight_datetime_from": "<flight_datetime_from>",
"flight_datetime_to": "<flight_datetime_to>"
},
"name": "get_flight_summary_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | No | Flights between airports/countries (e.g., SE-US, ESSA-JFK). Max 15. | |
| flights | No | Flight numbers (comma-separated values, max 15). | |
| aircraft | No | Aircraft ICAO type codes (comma-separated, max 15). | |
| airports | No | Airports (IATA/ICAO/ISO 3166-1 alpha-2) or countries. Use format: [direction:]<code>. | |
| callsigns | No | Flight callsigns (comma-separated values, max 15). | |
| painted_as | No | Aircraft painted in an airline's livery (ICAO code, comma-separated, max 15). | |
| operating_as | No | Aircraft operating under an airline's call sign (ICAO code, comma-separated, max 15). | |
| registrations | No | Aircraft registration numbers (comma-separated values, max 15). | |
| flight_datetime_to | Yes | End datetime (YYYY-MM-DDTHH:MM:SSZ). Requires flight_datetime_from. Cannot be used with flight_ids. Maximum query range is 14 days. | |
| flight_datetime_from | Yes | Start datetime (YYYY-MM-DDTHH:MM:SSZ). Requires flight_datetime_to. Cannot be used with flight_ids. Maximum query range is 14 days. |