get_booking_availability
Read the current team's bookable time slots in a date range, computed from the team's weekly booking rules minus what is already taken. Returns enabled:false when the team has booking switched off or the plan does not include it. Pass bookingId to get the slots for rescheduling that booking (its own slot is not counted as taken) — always call this before reschedule_booking, since a start time outside the available slots is rejected. The range is clamped server-side if you ask for too many days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | Yes | Range end (exclusive), ISO datetime | |
| fromDate | Yes | Range start, ISO datetime | |
| bookingId | No | Optional: compute availability for rescheduling this booking, excluding the slot it currently occupies. Omit to see availability for the team as a whole. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slots | No | Bookable start times as ISO datetimes — reschedule_booking only accepts one of these | |
| enabled | No | false when the team has booking off or the plan does not include it | |
| timezone | No | The team's booking timezone | |
| slotSeats | No | Per-slot capacity | |
| requireApproval | No | Whether new requests need approval (returned when booking is off) | |
| slotDurationMinutes | No | Length of one slot |