get_availability
Check when staff, rooms, or resources are free within a date window, considering bookings, holidays, and work times. Returns free slots and fully-free days, and indicates if a required duration fits.
Instructions
Check when staff, rooms (suites) or resources are FREE in a date window (default 14 days, max 92). Considers bookings, public holidays and staff absences/work times. Returns free time slots and fully-free days per entity, and whether a required duration fits. Select entities with search/site/status (names from find_resources).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end, YYYY-MM-DD (inclusive). | |
| days | No | Window ends this many days after start, inclusive (alternative to 'to'). Default 14. | |
| from | No | Window start, YYYY-MM-DD. Default today. | |
| site | No | Suites only: limit to suites whose site name contains this. | |
| type | Yes | Kind of entity to check. 'site' checks every suite of sites whose name matches search. | |
| staff | No | Staff type only: internal or external. Omit for both. | |
| weeks | No | Window length in weeks (overrides 'days'). | |
| search | No | Only entities matching this name/number/title. Omit for all. | |
| status | No | Entity status. Default active. | |
| duration | No | Required free length. Needs duration_unit. | |
| duration_unit | No | 'minutes'/'hours' need one contiguous free slot of that length; 'days' needs that many fully-free days. |