Book a stay
book_stayBook an apartment for the guest. No credit card is needed when paying at the property (stays above the deposit limit return a link for a small card deposit that must be paid within 1 hour). Only call this after check_availability, and after the guest has confirmed the apartment, dates, number of guests, total price and their own name, email and phone. The guest receives a confirmation email.
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": {
"apartment": "<apartment>",
"check_in": "<check_in>",
"check_out": "<check_out>",
"adults": "<adults>",
"guest_name": "<guest_name>",
"guest_email": "<guest_email>",
"guest_phone": "<guest_phone>"
},
"name": "book_stay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | Yes | Number of adults | |
| check_in | Yes | Arrival date, YYYY-MM-DD | |
| children | No | Number of children (default 0) | |
| apartment | Yes | Apartment name exactly as returned by list_apartments / check_availability | |
| check_out | Yes | Departure date, YYYY-MM-DD | |
| guest_name | Yes | Guest's full name | |
| guest_email | Yes | Guest's email: the confirmation is sent here | |
| guest_phone | Yes | Guest's phone number, with country code | |
| special_requests | No | Optional: arrival time, pets, cot, other requests |