Check prices for dates
search_availabilityWhich apartments of a booking page are free for the dates and guests, with the full price and a bookingUrl that opens the booking step for that apartment and stay. Dates are local, check-out exclusive. The result is advisory: the booking page checks again when the guest books. Where the page does not take online bookings yet (onlineBooking false) there is no bookingUrl and the guest asks the host through hostContact, unless the page takes booking requests (bookingRequests true): then the bookingUrl opens the request step.
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": {
"bookingPageId": "<bookingPageId>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>",
"adults": "<adults>"
},
"name": "search_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | Yes | ||
| checkIn | Yes | Arrival day, YYYY-MM-DD. | |
| checkOut | Yes | Departure day, YYYY-MM-DD. | |
| children | No | ||
| childAges | No | One age per child, when known; some hosts price children by age. | |
| bookingPageId | Yes | From find_booking_pages. |