Restrictions calendar
restrictionsThe live restrictions for up to 31 days, by hotel, room type or plan: closed, no arrivals, no departures, min and max nights, booked-ahead limits. Viewing only. Needs the owner's sign-in.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "restrictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last night YYYY-MM-DD | |
| from | Yes | First night YYYY-MM-DD | |
| plan | No | Rate plan code, optional | |
| room_type | No | Room type code, optional |