Search accommodation
search_accommodationsSearches accommodation offers on noclegowo.pl (Poland) by location, dates, party (adults, children, pets), amenities, budget and free-text wishes. Returns offers with a summary line, guest rating, availability and the total stay price (when dates and party are given) and the offer link. Amenities are treated as preferences (offers that have them are ranked first); required_amenities are hard requirements; exclude_offer_ids leaves out offers already seen. Every request carries the full set of criteria. With dates, when fewer than 3 offers are available in the requested town, offers from nearby localities are included; they carry a nearby field with the distance and the requested place.
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": {
"location": "<location>"
},
"name": "search_accommodations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pets | No | True when the guests travel with a pet (dog, cat, …). | |
| limit | No | How many offers to return (default 6, max 10). | |
| adults | No | Number of adults. | |
| date_to | No | Departure (check-out) date, YYYY-MM-DD. | |
| children | No | Number of children. | |
| language | No | Language of the user's conversation ('pl' or 'en'). Determines the language of texts and the offer link locale. | |
| location | Yes | Where to stay: city, region, mountain range, lake, landmark or area in Poland, e.g. "Zakopane", "Mazury", "nad morzem", "near Morskie Oko". | |
| amenities | No | Amenities the user wishes for, in their words, e.g. ["śniadanie", "sauna", "parking"]. A preference rather than a filter: offers that have them are ranked first and the others follow with a note. | |
| date_from | No | Arrival (check-in) date, YYYY-MM-DD. | |
| budget_max | No | Maximum budget in PLN. | |
| budget_min | No | Minimum budget in PLN. | |
| budget_scope | No | Whether the budget is per night (default) or for the whole stay. | |
| expectations | No | Other wishes in free text: type of place, style, atmosphere, distance to the beach or slopes, quiet area, etc. Personal data is not needed. | |
| children_ages | No | Ages of the children, when known. | |
| exclude_offer_ids | No | Offer ids to leave out of the results (for example offers already seen), so that further results are new ones. | |
| required_amenities | No | Amenities that are hard requirements ("musi być", "koniecznie", "tylko z", "required"): offers without them are dropped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offers | Yes | ||
| status | Yes | ||
| language | Yes | ||
| questions | Yes | When status=needs_more_info: the information missing for a search. |