Request to book
request_bookingRequest a stay from a quote. Set house_rules_accepted only after the guest has seen and agreed to the quote's house_rules. If the quote's payment.collected_by is "threshold", the booking starts as awaiting_payment and the response includes payment_url: the guest must open payment_url and add a card within 60 minutes, after which the host gets the request (status pending_host_confirmation). Otherwise the request goes to the host immediately and the host arranges payment after accepting. Returns the booking and a status link to give the guest; poll get_booking for changes.
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": {
"quote_id": "<quote_id>",
"first_name": "<first_name>",
"last_name": "<last_name>",
"email": "<email>",
"house_rules_accepted": "<house_rules_accepted>"
},
"name": "request_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The guest's email: confirmations, the payment link and the host's messages go there. | ||
| phone | No | The guest's phone number in international format, e.g. +15551234567. Optional. | |
| quote_id | Yes | The quote being booked, from get_quote (starts with quo_). | |
| last_name | Yes | The guest's last name. | |
| first_name | Yes | The guest's first name. | |
| special_requests | No | Anything the guest wants the host to know, in their words (arrival time, a question). Optional, up to 500 characters. | |
| house_rules_accepted | Yes | True only after the guest has seen and agreed to the quote's house_rules. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking | No | The booking. | |
| payment_url | No | When present, the guest opens this to add a card; the request reaches the host only after that. |