get_offers
Reports the promotion Aurinia XO (Kamianets-Podilskyi) is advertising publicly at this moment: the text of the active site banner, its promo code, the discount percent, and any condition attached to that code — notably requires_full_buyout, a code that applies only when the stay takes every bed in the hostel, with beds_required giving that bed count. The promo_code returned is the one to pass to get_availability or book. Read-only, no authorization. offers is an empty array when nothing is being advertised, which is the normal state between campaigns. Optional locale (ua, en, de, it, fr, pl, bg; default en) picks the banner language, falling back to the Ukrainian source where a translation is missing. Only the advertised banner is reported; other discount codes present in the system stay unlisted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Banner language. Default en. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| offers | No |