predict_delay
Predict the probability of a flight delay exceeding 2 hours by providing origin, destination, departure time, carrier, and flight number.
Instructions
Predict the probability that a flight is delayed by more than 2 hours.
Args: origin: Origin IATA airport code, e.g. "NCE". destination: Destination IATA airport code, e.g. "CDG". departure_datetime: Scheduled departure, ISO format "YYYY-MM-DDTHH:MM". carrier_code: IATA carrier code, e.g. "AF". flight_number: Flight number, e.g. "1234".
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>",
"departure_datetime": "<departure_datetime>",
"carrier_code": "<carrier_code>",
"flight_number": "<flight_number>"
},
"name": "predict_delay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| destination | Yes | ||
| carrier_code | Yes | ||
| flight_number | Yes | ||
| departure_datetime | Yes |