Draft a request to owners
create_booking_requestDraft a request to the owners or agents of up to 5 listings the person chose (listings whose booking mode is "request" or "instant_host"): their dates, number of guests, a message. Nothing is sent by this call. It returns request_id and confirm_url, a page of ours where the person signs in (e-mail link or WhatsApp code), checks the request, fills in their name and phone and presses Send. Then each listing gets the same request as on its own page: we ask the owner or agent and pass the answer back. Listings booked on their own page (hotels, partners) are returned in skipped with their address; so are listings whose terms do not fit the dates, with the reason. The draft lasts 48 hours.
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": {
"listing_ids": "<listing_ids>"
},
"name": "create_booking_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the pages we link to (and of names where we have them). Default en. | |
| guests | No | ||
| message | No | What the person wants the owners to know, in their words. Contacts are removed: they are exchanged once the owner agrees. | |
| check_in | No | Move-in or arrival. Required to rent; to buy, leave out (a viewing request). | |
| check_out | No | Move-out or departure. | |
| listing_ids | Yes | Listing ids, in the person's order of preference. |