get_quote
The total price of one stay for a party, with its breakdown (nights, length discount, extra-guest fee, cleaning) – the same calculation that charges the guest. Amounts are integer cents. When the stay cannot be booked the answer has ok:false and a reason: unavailable (with the taken dates), min_stay (with minStay), no_checkin_day, no_checkout_day, max_guests (with maxGuests), no_rates or invalid_range. A quote holds nothing.
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": {
"slug": "<slug>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>",
"adults": "<adults>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The place's slug – the last part of its page URL (posadita.com/p/{slug}), or from search_stays or /llms.txt. | |
| adults | Yes | Adults (at least one). | |
| checkIn | Yes | Arrival, YYYY-MM-DD | |
| checkOut | Yes | Departure, YYYY-MM-DD (that night is not included) | |
| children | No | Children, if any. |