Prepare a booking link
prepare_bookingCheck that a stay is free for the given dates and guests, and return the total price (cleaning included), the cancellation policy and a direct booking link with dates and guests already filled in. Give the link to the traveller: they confirm and pay securely on OkeyStay. Never ask the traveller for card details in the chat.
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>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>",
"guests": "<guests>"
},
"name": "prepare_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| guests | Yes | ||
| locale | No | Language of the texts: es or en | en |
| checkIn | Yes | YYYY-MM-DD | |
| checkOut | Yes | YYYY-MM-DD |