check_availability
Check whether Villa Coral, GPS Villa, or Valhalla is open for the dates and guest count. If next_step is pay, booking_url is the checkout. The guest enters their name, email, and card on that page. Villa Coral returns a total and a quote_id. GPS Villa returns the hotel total and a ctcstays.com pay link. Valhalla returns a Lodgify link and total null; the checkout page shows the price. Do not invent a price. For GPS Villa and Valhalla, do not call create_hold. That link does not hold the dates. Paying does. If the stay is not open, reason says why. Do not build a pay link yourself.
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": {
"property_id": "<property_id>",
"checkin": "<checkin>",
"checkout": "<checkout>",
"guests": "<guests>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | Yes | ||
| checkin | Yes | ||
| checkout | Yes | ||
| property_id | Yes |