Create Trip
create_tripCreate a new TRIP from a program (the program's current state is snapshotted). Fields: programId (uuid, REQUIRED -- a trip is always a live instance of a program), name, startDate, endDate (YYYY-MM-DD), maxParticipants (null = unlimited), timezone (IANA name, e.g. 'Europe/Istanbul'). A new trip starts as a DRAFT and is NOT LISTED on the company website; to open it for sale/on the site, use publish_trip.
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": {
"programId": "<programId>",
"name": "<name>"
},
"name": "create_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| endDate | No | ||
| timezone | No | ||
| programId | Yes | ||
| startDate | No | ||
| maxParticipants | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| status | No | ||
| endDate | No | ||
| guideId | No | ||
| joinCode | No | ||
| timezone | No | ||
| createdAt | No | ISO 8601 timestamp | |
| joinToken | No | ||
| programId | No | ||
| startDate | No | ||
| updatedAt | No | ISO 8601 timestamp | |
| cancelledAt | No | ISO 8601 timestamp | |
| completedAt | No | ISO 8601 timestamp | |
| cancelReason | No | ||
| coverImageUrl | No | ||
| coverThumbUrl | No | ||
| organizationId | No | ||
| stableLiveCode | No | ||
| maxParticipants | No | ||
| changedNotifiedAt | No | ISO 8601 timestamp | |
| weatherCardsEnabled | No |