Flight distance, time and CO2
flight_infoBetween two airports: great-circle distance, rough flight time, time difference, and per-passenger CO2 estimate (UK government factors). For routes touching the US it also lists the carriers that fly the route (with passengers, load factor, on-time rate). It is not live flight status or a schedule.
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": "flight_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Airport IATA (YUL) or ICAO (CYUL) code. | |
| from | Yes | Airport IATA (YUL) or ICAO (CYUL) code. | |
| passengers | No | ||
| round_trip | No | ||
| cabin_class | No |