Create Booking
create_bookingCreates a booking and returns the generated booking reference and ID. A member ID must already exist (see create_member), and port_entry_id / port_exit_id must reference valid destinations (see list_destinations). Requires a valid Druk Asia API key (sent automatically via the x-api-key header).
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": {
"itinerary_id": "<itinerary_id>",
"tour_start_date": "<tour_start_date>",
"tour_end_date": "<tour_end_date>",
"port_entry_id": "<port_entry_id>",
"port_exit_id": "<port_exit_id>",
"member_id": "<member_id>",
"total_adult_pax": "<total_adult_pax>",
"total_child_pax": "<total_child_pax>",
"total_infant_pax": "<total_infant_pax>",
"total_adult_air_ticket": "<total_adult_air_ticket>",
"total_child_air_ticket": "<total_child_air_ticket>",
"total_infant_air_ticket": "<total_infant_air_ticket>",
"is_trekking_group": "<is_trekking_group>",
"single_supplement_cost": "<single_supplement_cost>",
"trekking_cost": "<trekking_cost>",
"total_visa_cost": "<total_visa_cost>",
"total_land_tour_price": "<total_land_tour_price>",
"credit_card_charge": "<credit_card_charge>",
"total_air_ticket_price": "<total_air_ticket_price>",
"grand_total": "<grand_total>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | Yes | Member ID. Create one first with create_member if not done yet. | |
| grand_total | Yes | Grand total amount. | |
| itinerary_id | Yes | Numeric itinerary ID (from list_itineraries or get_itinerary). | |
| port_exit_id | Yes | Departure port Destination.Id. Must reference a destination where isExit = 1. See list_destinations. | |
| port_entry_id | Yes | Arrival port Destination.Id. Must reference a destination where isEntry = 1. See list_destinations. | |
| tour_end_date | Yes | Tour end date in ISO date-time format, e.g. 2026-12-07T00:00:00.000Z. | |
| trekking_cost | Yes | Trekking cost. | |
| total_adult_pax | Yes | Total adult passengers. | |
| total_child_pax | Yes | Total child passengers. | |
| total_visa_cost | Yes | Total visa cost. | |
| tour_start_date | Yes | Tour start date in ISO date-time format, e.g. 2026-12-01T00:00:00.000Z. | |
| total_infant_pax | Yes | Total infant passengers. | |
| is_trekking_group | Yes | Whether this booking is a trekking group. | |
| credit_card_charge | Yes | Credit card processing charge. | |
| total_land_tour_price | Yes | Total land tour price. | |
| single_supplement_cost | Yes | Single room supplement cost. | |
| total_adult_air_ticket | Yes | Total adult air tickets. | |
| total_air_ticket_price | Yes | Total air ticket price. | |
| total_child_air_ticket | Yes | Total child air tickets. | |
| total_infant_air_ticket | Yes | Total infant air tickets. |