Show when a rental is free
get_availabilityLists the stays that can be booked in one holiday rental (arrival, departure, nights) between two dates, without prices. Use get_quote or find_cheapest_stay to price them.
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": {
"rentalId": "<rentalId>"
},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last arrival date to consider, YYYY-MM-DD; at most 92 days after from. | |
| from | No | First arrival date to consider, YYYY-MM-DD; today when omitted. | |
| nights | No | Only stays of exactly this many nights. | |
| rentalId | Yes |