Check availability and price
check_availabilityChecks availability and the total price of a stay (date_from to date_to, adults, children) for up to 10 noclegowo.pl offers (offer_id values as returned in search results). Returns, per offer, the availability verdict, the whole-stay price for that party and the offer link.
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": {
"offer_ids": "<offer_ids>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Number of adults (default 2). | |
| date_to | Yes | Departure (check-out) date, YYYY-MM-DD. | |
| children | No | Number of children (default 0, or the length of children_ages). | |
| language | No | Language of the user's conversation ('pl' or 'en'). Determines the language of texts and the offer link locale. | |
| date_from | Yes | Arrival (check-in) date, YYYY-MM-DD. | |
| offer_ids | Yes | offer_id values, as returned in search results. | |
| children_ages | No | Children ages at check-in; they decide occupancy and price. Unknown ages are priced as school-age. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stay | Yes | ||
| offers | Yes | Available offers first, then unknown, then unavailable. | |
| status | Yes | ||
| language | Yes | ||
| missing_offer_ids | Yes |