Create trip
create_tripCreate a Trip, the grouping of one out-of-town journey inside a project. It groups gigs on the project (primary_event_id carries the separate Buyout invoice) and existing project flights, hotel stays and rides; nothing is grouped by date or name. Read Trips back with list_project_travel kind=trips. Creates no expense or charge. 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": "create_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | the Trip name, for example "Napa weekend" | |
| ride_ids | No | rides on covered gigs to put on the Trip | |
| stay_ids | No | ids of the project hotel stays to put on the Trip: hotels[].id from list_project_travel | |
| event_ids | No | gigs on this project the Trip covers | |
| flight_ids | No | ids of the project flights to put on the Trip: flights[].id from list_project_travel | |
| project_id | Yes | project id from list_projects, or a gig's project_id from get_event | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| primary_event_id | No | the gig that carries the Buyout invoice; must be one of event_ids |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { project_id, trip_id, trip_name, trip_revision, project_name, currency, billing_event_id, gigs [{ event_id, title, event_date, end_date, is_billing }], travellers [{ user_id, user_name }], external_sources [{ id, source, external_id, external_status, traveller_label, cancelled_at }], buyouts [{ id, category, amount, currency, notes }] } } | |
| error | No | when ok is false |