Add or edit a flight passenger
save_flight_passengerPut a member of your organization on a recorded flight leg, or edit their row. Without passenger_id this adds user_id (from list_org_members; a person can be on a leg once) with their own confirmation code, seat, ticket number and bags. With passenger_id (passengers[].id, not user_id) it edits that row: pass just the fields to change; null clears. Returns the whole flight. Passports and frequent-flyer numbers stay on the person profile and are not set here. Requires project-manager access. Runs on the first call; there is no confirmation step.
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>"
},
"name": "save_flight_passenger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seat | No | seat, for example "14C"; null clears | |
| notes | No | notes for this traveller; null clears | |
| user_id | No | when adding: the traveller, a member of your organization | |
| 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 | No | edit this passenger row (passengers[].id, not user_id); omit to add one | |
| baggage_count | No | checked bags; null clears | |
| ticket_number | No | e-ticket number; null clears | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| confirmation_code | No | this traveller's PNR or confirmation code; null clears |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | 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 |