Get quote
get_quoteWHEN: use it when the traveller fixes ONE category and wants the exact total for a given date range ("how much is G4 from 8 to 15 June for 6?"). WHAT IT RETURNS: available boolean, total_price_eur, nightly_avg_eur, nights, guests, deposit, cancellation summary, cancellation_details_url, booking_url. When not available, available: false and the booking_url falls back to the search page (plus hint to call search_availability). The price is the public rate charged at checkout to a non-member with no discount code — if the traveller has a code, they enter it themselves on beachvalencia.com. EXAMPLE: {"id":"G4","check_in":"2027-06-08","check_out":"2027-06-15","adults":6}.
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": {
"id": "<id>",
"check_in": "<check_in>",
"check_out": "<check_out>",
"adults": "<adults>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Property/type ID (G1..G6 or G4B). | |
| adults | Yes | ||
| check_in | Yes | Arrival date YYYY-MM-DD. | |
| children | No | ||
| language | No | ||
| check_out | Yes | Departure date YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| hint | No | ||
| name | Yes | ||
| guests | Yes | ||
| nights | Yes | ||
| deposit | Yes | ||
| check_in | Yes | ||
| currency | Yes | ||
| available | Yes | ||
| check_out | Yes | ||
| booking_url | Yes | ||
| cancellation | Yes | ||
| discount_note | No | ||
| min_stay_nights | No | ||
| nightly_avg_eur | No | ||
| total_price_eur | No | ||
| public_price_eur | No | ||
| cancellation_details_url | Yes |