Add or edit a flight
save_project_flightRecord a flight leg on a project, or edit a recorded one. Without flight_id this records a new leg: every field is optional, but give at least the airline, flight number, airports and times you know, and pass event_id or event_ids with the gig so list_project_travel with that event_id lists it. With flight_id (from list_project_travel) it edits that leg: pass just the fields to change; null clears a field and event_ids replaces the covered gigs. Instants need an offset and each end gets its airport's IATA zone. Changing cost needs financial access. Add travellers with save_flight_passenger. This records a booking made elsewhere; it books nothing. 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>"
},
"name": "save_project_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | airfare for the leg; needs cost_currency and financial access (403 without it); null clears. No ledger line is created | |
| notes | No | notes for the team; null clears | |
| airline | No | airline name, for example "United"; null clears | |
| event_id | No | one gig this booking covers; merged into event_ids when both are set | |
| arrive_at | No | arrival as an ISO-8601 instant with an offset; not before depart_at; null clears | |
| depart_at | No | departure as an ISO-8601 instant with an offset, e.g. 2026-10-10T08:05:00-05:00; null clears | |
| event_ids | No | gigs on this project the booking covers (list_projects gig ids or get_event); include the gig here so list_project_travel with event_id lists it for that gig; replaces the list; every id must be one of the project's own gigs | |
| flight_id | No | edit this flight (id from list_project_travel); omit to record a new leg | |
| project_id | Yes | project id from list_projects, or a gig's project_id from get_event | |
| cost_currency | No | 3-letter ISO currency of cost, e.g. USD; null clears | |
| flight_number | No | flight number, for example "UA 1234"; null clears | |
| arrive_airport | No | arrival airport IATA code, for example "AUS"; null clears | |
| depart_airport | No | departure airport IATA code, for example "ORD"; null clears | |
| arrive_timezone | No | IANA zone of the arrival airport; null clears | |
| depart_timezone | No | IANA zone of the departure airport, e.g. America/Chicago; null clears | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| booking_reference | No | the booking record locator for the whole leg; 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 |