search_stays
Search ONE collection – a host's portfolio, a residential community or a destination – named by its slug (posadita.com/s/{slug}, or from /llms.txt). There is no search across all of Posadita. With dates and guests every place is priced for exactly that stay (totalCents, the same figure get_quote gives) and those that can be booked come first; without dates you get each place's from-price per night. Only places with bookable:true can be quoted or checked out; the others are booked by contacting their host.
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": {
"collection": "<collection>"
},
"name": "search_stays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Departure, YYYY-MM-DD (with from) | |
| from | No | Arrival, YYYY-MM-DD (with to) | |
| guests | No | Everyone staying, children included. | |
| amenities | No | Every one of these, not any. | |
| collection | Yes | The collection's slug. | |
| minBedrooms | No | ||
| propertyType | No | ||
| availableOnly | No | With dates: leave out places that cannot be booked for them. |