Check availability
check_availabilityWhether the cottage can be booked for a stay. Dates are ISO (YYYY-MM-DD); "departure" is the day the guests leave, so 12 to 15 March is three nights.
When not available, "reason" says why: occupied (taken), min_nights or max_nights (stay too short or too long; "minNights" gives the minimum), full_week_required (this season is sold only in full weeks from its changeover day), no_pricing (the cottage is closed then), past_arrival, too_far_ahead (arrival more than two years ahead), phone_only_today (same-day arrival is booked by phone only), invalid_range.
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": {
"arrival": "<arrival>",
"departure": "<departure>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arrival | Yes | first day, YYYY-MM-DD | |
| departure | Yes | day of departure, YYYY-MM-DD |