plan_flight
Generate optimized flight routes between two airports with performance estimates, including aircraft type, cruise altitude, and mass. Input departure and arrival details to calculate efficient flight plans.
Instructions
Plan a flight route between two airports with performance estimates
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aircraft | Yes | ||
arrival | Yes | ||
departure | Yes | ||
route_options | No |
Input Schema (JSON Schema)
{
"properties": {
"aircraft": {
"properties": {
"cruise_altitude": {
"default": 35000,
"description": "Cruise altitude in feet",
"maximum": 45000,
"minimum": 8000,
"type": "integer"
},
"mass_kg": {
"description": "Aircraft mass in kg (optional, uses 85% MTOW if not specified)",
"type": "number"
},
"type": {
"description": "ICAO aircraft type (e.g., 'A320', 'B738', 'A359')",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"arrival": {
"properties": {
"city": {
"description": "Arrival city name",
"type": "string"
},
"country": {
"description": "Arrival country code (optional)",
"type": "string"
},
"iata": {
"description": "Preferred arrival IATA code (optional)",
"type": "string"
}
},
"required": [
"city"
],
"type": "object"
},
"departure": {
"properties": {
"city": {
"description": "Departure city name",
"type": "string"
},
"country": {
"description": "Departure country code (optional)",
"type": "string"
},
"iata": {
"description": "Preferred departure IATA code (optional)",
"type": "string"
}
},
"required": [
"city"
],
"type": "object"
},
"route_options": {
"properties": {
"step_km": {
"default": 25,
"description": "Distance between polyline points in km",
"minimum": 1,
"type": "number"
}
},
"type": "object"
}
},
"required": [
"departure",
"arrival",
"aircraft"
],
"type": "object"
}