Get Transparent Direct Rates
get_rate_detailsGet the itemized direct-rate quote and cancellation policy for one specific villa (`unit_id`) and date range.
Fetches exact live pricing from the property owner's PMS including nightly base rate, subtotal,
cleaning fees, local tourist taxes, gross total in EUR, minimum-stay rule, and cancellation policy.
When to use:
- Use after the traveler selects a specific `unit_id` from `search_properties` to present the full itemized price quote and cancellation terms before calling `create_hold`.
When NOT to use:
- Do NOT use for broad destination search—use `search_properties` instead.
- Do NOT use just to check whether dates are open without needing price itemization—use `check_availability` instead.
Args:
unit_id: The unit_id from search_properties results
check_in: Arrival date YYYY-MM-DD
check_out: Departure date YYYY-MM-DD
guests: Number of guests
Returns:
JSON object with `nights`, `currency`, itemized `breakdown` (`base_rate_per_night`, `subtotal`, `cleaning_fee`, `tax`), `gross_total`, `cancellation_policy`, and `min_stay_nights`.
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": {
"unit_id": "<unit_id>",
"check_in": "<check_in>",
"check_out": "<check_out>",
"guests": "<guests>"
},
"name": "get_rate_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | Yes | Total number of guests staying at the property. | |
| unit_id | Yes | Unique property unit identifier (`unit_id` returned by `search_properties`). | |
| check_in | Yes | Arrival date in ISO 8601 format (YYYY-MM-DD). | |
| check_out | Yes | Departure date in ISO 8601 format (YYYY-MM-DD). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |