Remove flight passenger
remove_flight_passengerTake a traveller off a recorded flight leg. Returns the whole flight. It cancels nothing with the airline. Confirmation-gated. Requires project-manager access.
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": {
"project_id": "<project_id>",
"flight_id": "<flight_id>",
"passenger_id": "<passenger_id>"
},
"name": "remove_flight_passenger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flight_id | Yes | flight id from list_project_travel | |
| project_id | Yes | project id from list_projects, or a gig's project_id from get_event | |
| passenger_id | Yes | the passenger row's id (passengers[].id), not user_id | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| confirmation_token | No | leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { id, project_id, project_name, airline, flight_number, depart_airport, arrive_airport, depart_at, depart_timezone, arrive_at, arrive_timezone, booking_reference, cost, cost_currency, notes, sort_order, status, estimated_depart_at, and 8 more fields } } | |
| error | No | when ok is false |