book_service
Boat Owner MCP. Book and pay for one pro storefront service or charter trip (including per-seat tickets, per-foot/per-hour/per-unit pricing, recurring services, add-ons, tips, promo codes, and gift cards). Without ownerConfirmed:true this returns a no-write preview; with ownerConfirmed:true after the owner says yes, Boatwork returns a pay link good for 30 minutes. Pass ownerSessionToken to auto-fill contact info and link the booking to the owner account.
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": {
"slug": "<slug>",
"serviceId": "<serviceId>"
},
"name": "book_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day of the open time from get_open_times, YYYY-MM-DD. | |
| note | No | Short note for the pro, if the owner gave one. | |
| slug | Yes | The pro's slug from search_marine_pros results. | |
| time | No | Time exactly as get_open_times shows it, for example "9:00 AM". | |
| start | No | ISO start time from get_open_times. Required for a service with a fixed duration. | |
| addons | No | Optional per-trip add-ons as map of addon id -> quantity. | |
| answers | No | The owner's answers to the pro's booking questions, keyed by question id as the preview lists them. | |
| cadence | No | How often, from list_pro_services: "once", or a repeat such as "week". Needed when the service offers more than one. | |
| tickets | No | For seat-sold charters/trips: map of ticketType id -> guest count, e.g. {"adult": 2, "child": 1}. | |
| quantity | No | Boat length in feet (rounded up), hours, or number of units, for a service priced that way. | |
| tipCents | No | Optional fixed tip in cents when the business offers tips. | |
| vesselId | No | Optional boatId from list_my_boats to attach to this booking. | |
| promoCode | No | Optional promo/discount code. | |
| serviceId | Yes | Service id from list_pro_services or search_bookable_services. | |
| tipPercent | No | Optional tip percent when the business offers tips. | |
| customerName | No | Boat owner name (optional if ownerSessionToken is passed). | |
| giftCardCode | No | Optional storefront gift card code. | |
| customerEmail | No | Boat owner email (optional if ownerSessionToken is passed). | |
| customerPhone | No | Boat owner phone number (optional if ownerSessionToken is passed). | |
| ownerConfirmed | No | Set true only after the owner explicitly says yes to this booking. Omit for a no-write preview. | |
| ownerSessionToken | No | Optional ownerSessionToken from confirm_owner_signin. When provided, contact fields can be omitted and the booking links to the owner account. |