Set the price of specific nights
set_nightly_priceGives its own price per night to one night or a range (e.g. Christmas), for one unit or (without unit_id) for every unit. It wins over seasons and the base price. weekdays limits it to some days of the week, e.g. ["fri","sat"] for weekends in July. Existing bookings keep their agreed total. For one night, send only from. Acts on one venue, given its address and access key.
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": {
"address": "<address>",
"access_key": "<access_key>",
"from": "<from>",
"price_per_night_eur": "<price_per_night_eur>"
},
"name": "set_nightly_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last night (inclusive), YYYY-MM-DD. Default: same as from. | |
| from | Yes | First night, YYYY-MM-DD. | |
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| unit_id | No | Leave out to set it on every unit. | |
| weekdays | No | Optional: only these nights of the week. | |
| access_key | Yes | The venue’s access key. | |
| price_per_night_eur | Yes |