Search Properties
hemmabo_search_propertiesSearch available vacation rental properties by location and travel dates. Use when the user wants to find or browse places to stay. Discovery only, and price-free: call vrp_get_verified_stay_offer with the host domain and same dates before the final answer so the client can render the verified stay offer widget; the price and the signed booking link come only from that offer. Do NOT use when the user already has a propertyId or host domain. Returns propertyId, host domain, the host's booking_url, live availability and capacity. Parameters combine as one filter with guests and the checkIn/checkOut range (checkIn strictly before checkOut): region matches broadly against region, city, and country names, while country matches the country field alone — omit both and the search spans every published property. Required amenities (amenities) are a match condition decided by the host's own declaration: only a declared yes matches, and each result then carries amenityFacts for exactly those amenities. Capacity misses are excluded; date-unavailable matches return separately in unavailableMatches with up to three alternative windows. Booking and payment happen only on the host's own domain, at the signed direct_booking_url. The agent never books, pays, cancels or changes a booking.
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": {
"guests": "<guests>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>"
},
"name": "hemmabo_search_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | Yes | Total guest count as a positive integer (e.g. 2, 4, 6). Used for capacity filtering and staircase pricing tiers. Properties with maxGuests below this value are excluded from search results. | |
| region | No | Region, area, or destination to search within (e.g. 'Skåne', 'Kävlinge', 'Toscana', 'Bavaria'). Partial case-insensitive match against region, city, and country. Optional — omit both region and country and the search spans every published property. | |
| checkIn | Yes | Arrival date in ISO 8601 calendar format YYYY-MM-DD (e.g. '2026-07-15'). Must be today or later in the property's timezone. Must be strictly before checkOut; together they define the stay length used for pricing and availability. | |
| country | No | Country name to filter by (e.g. 'Sweden', 'Italy', 'Morocco'). Partial case-insensitive match against the country field. Optional — omit both region and country and the search spans every published property. | |
| checkOut | Yes | Departure date in ISO 8601 calendar format YYYY-MM-DD (e.g. '2026-07-22'). Must be strictly after checkIn on the same calendar. The guest does not stay the departure night. | |
| amenities | No | Optional. Amenities the guest REQUIRES, as canonical names, e.g. ['hot_tub'] for 'with a hot tub' / 'med spabad', ['sauna'], ['pool'], ['wifi'], ['fireplace'], ['ev_charging']. A property matches only when its host has declared every one of them (affirmed); a host's no or an unanswered amenity is not a match. Put an amenity here only when the guest wants it — 'without a hot tub' / 'utan spabad' is NOT a hot-tub requirement (see excludedAmenities), and 'sauna or pool' is not a requirement for both: ask which. Omit for no amenity requirement. | |
| excludedAmenities | No | Optional. Amenities the stay MUST BE WITHOUT, as canonical names, e.g. ['hot_tub'] for 'it must not have a hot tub'. A property matches only when its host has declared the amenity absent (negated); an unanswered amenity is not a match, because no answer does not prove absence. Use only when the guest requires the absence. 'A hot tub is not needed' / 'spabad är inget krav' is NO condition at all: leave the amenity out of both lists. If the guest's wording is ambiguous, ask before filtering. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when isError=true. | |
| guests | No | Echoed guest count. | |
| checkIn | No | Echoed check-in date (YYYY-MM-DD). | |
| checkOut | No | Echoed check-out date (YYYY-MM-DD). | |
| properties | No | Available properties matching the search criteria: each host domain and its own booking URL, without a price. |