Find homes free for a stay
get_availabilityWhich homes are free from checkin to checkout (checkout night not counted), across every property this account can see — its own and those shared with it, including an agency's view of its owners' calendars. Occupancy only: never who is staying. A home let room by room lists its free rooms. quote.total (the stay's price, before extras) appears only where the owner shared the nightly rates; a home whose nights the owner closed is left out. Use it for "do we have anything in Marbella from the 3rd to the 7th?". Always pass lang with the language of the user's message. The user sees the result as a screen: call this again whenever they ask to see these, even if you already have the data.
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": {
"checkin": "<checkin>",
"checkout": "<checkout>"
},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | The language the user is writing in, so the cards shown with the answer use it (not sent to the API) | |
| place | No | City, region or part of the address, e.g. "Marbella" (accents ignored) | |
| guests | No | Group size: leave out homes known to take fewer (homes with no capacity set are kept) | |
| checkin | Yes | First night, YYYY-MM-DD | |
| checkout | Yes | Departure day, YYYY-MM-DD (at most 90 nights after checkin) | |
| maxTotal | No | Leave out homes whose stay costs more than this (homes with no price shared are kept) |