create_booking
Create a new booking for a trip using trip ID, passenger details, and provider. Optionally specify origin, destination, or travel date to complete the reservation.
Instructions
Create a new booking.
Args:
trip_id: The ID of the trip to book.
passengers: A list of dictionaries representing passengers. Each passenger needs:
name, phone_number, age_group_id, seat_number, pick_point_id, drop_point_id,
gender (M or F), identification_type_id, id_number.
provider: The provider of the trip (e.g. mysafari).
origin_id: Optional origin ID.
destination_id: Optional destination ID.
travel_date: Optional travel date (YYYY-MM-DD).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | ||
| provider | Yes | ||
| origin_id | No | ||
| passengers | Yes | ||
| travel_date | No | ||
| destination_id | No |