Add time off
add_time_offBlock a staff member's calendar so no one can book it: whole days off or a few hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Last day off, inclusive (YYYY-MM-DD), or the end of the blocked hours on the same day. | |
| start | Yes | A day (YYYY-MM-DD) for whole days off, or an ISO 8601 date-time to block hours. | |
| reason | No | Whole days: vacation, sick_day, personal_day, training or other (other text is kept as a note). Hours: any label, e.g. Lunch. | |
| staff_id | Yes | Staff ID from list_staff. |