Check dates and price a stay
check_availabilityCheck one villa for specific dates and price the stay. Availability is 'available' (the villa's live calendar shows every night free), 'booked' (with the booked nights) or 'unknown' (no current calendar; the team checks with the owner, so it is not booked). The estimate adds up the published nightly rates night by night, picks the bedroom option that sleeps the party, and includes 13% local taxes; it also reports the minimum stay. It is an estimate: the team confirms the exact price with the villa before anything is paid. Returns a link to the site's booking form with the stay filled in.
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": {
"villa": "<villa>",
"arrival": "<arrival>",
"departure": "<departure>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| villa | Yes | The villa's slug, name or numeric id. | |
| guests | No | Number of guests, children included. Chooses the bedroom option to price; leave out for the smallest. | |
| arrival | Yes | Arrival date as YYYY-MM-DD. | |
| currency | No | Currency for the estimate. | USD |
| departure | Yes | Departure date as YYYY-MM-DD, the morning the guests leave. |