propose_rebooking
Propose moving a passenger group to another flight; the change executes only after a separate human approves the exact proposal.
Instructions
Propose moving a group of passengers to another flight. Needs a human approval.
The only tool that changes anything. It does not complete on the first call:
it answers with a request for approval, and executes only when a person other
than the signed-in user approves this exact proposal. You cannot approve it,
and changing any argument makes it a new proposal needing a new approval.
Calling it again with the same arguments is safe: the same proposal is
executed at most once and a repeat returns the original result.
It names a group, never a passenger, and returns counts only. It needs a
user's token carrying `flightops.rebooking.write`, so it is unavailable to a
service principal and over stdio. Spends no OpenSky credits.
Args:
from_flight: Flight the passengers are booked on, e.g. SK1429.
flight_date: Departure date of from_flight, YYYY-MM-DD.
to_flight: Flight to move them to, e.g. SK1431.
cohort: Which passengers: "tight_connections", "connecting",
"needing_assistance" or "all".
reason_code: Why: "weather", "technical", "crew", "atc", "late_inbound"
or "other".
passenger_count: How many passengers this moves, as reported by
flight_passenger_impact for that cohort. The rebooking is refused if
the number has changed since.
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_flight": "<from_flight>",
"flight_date": "<flight_date>",
"to_flight": "<to_flight>",
"cohort": "<cohort>",
"reason_code": "<reason_code>",
"passenger_count": "<passenger_count>"
},
"name": "propose_rebooking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cohort | Yes | ||
| to_flight | Yes | ||
| flight_date | Yes | ||
| from_flight | Yes | ||
| reason_code | Yes | ||
| passenger_count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||