Create Booking
create_bookingBook a charter with a captain. A captain with Instant Book on returns a Stripe Checkout link (payment.kind checkout_link) for the charterer to complete payment. A captain who reviews every request first (get_quote's instantBook: false) is sent a request instead: nothing is charged, the result is a request with the estimated total and deposit, and if the captain accepts, the charterer is emailed a link to pay. Optionally attach a partner/affiliate code to credit a referrer; partnerCode can't be used on a request (PARTNER_CODE_NOT_AVAILABLE_FOR_REQUESTS). harborId must be a harbor this captain departs from: one of get_captain's harbors, or any list_harbors harbor when get_captain lists none. create_booking refuses any other harbor with HARBOR_NOT_OFFERED, and that error's harbors field lists the ones the captain departs from.
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": {
"captainSlug": "<captainSlug>",
"harborId": "<harborId>",
"date": "<date>",
"startTime": "<startTime>",
"durationId": "<durationId>",
"pricingTierId": "<pricingTierId>",
"partySize": "<partySize>",
"firstName": "<firstName>",
"lastName": "<lastName>",
"email": "<email>",
"phone": "<phone>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| Yes | |||
| phone | Yes | ||
| harborId | Yes | ||
| lastName | Yes | ||
| firstName | Yes | ||
| partySize | Yes | ||
| startTime | Yes | ||
| durationId | Yes | ||
| captainSlug | Yes | ||
| partnerCode | No | ||
| pricingTierId | Yes | ||
| specialRequests | No |