calculate_emissions_flight
Calculate CO2e emissions for a flight
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "calculate_emissions_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin IATA code (e.g. LHR) or latitude,longitude | |
| passengers | No | Number of passengers (default: 1) | |
| cabin_class | No | economy | premium_economy | business | first | |
| destination | Yes | Destination IATA code or UN/LOCODE |