Edit a time-off request
edit_time_off_requestUpdate dates, times, or comments of a submitted time-off request. Leave type remains fixed; create a new request to change it. Only provide the fields you want to change.
Instructions
Changes the dates, times or comment of an existing request. WRITES to Woffu. requestId comes from list_time_off_requests. The leave type cannot change here — cancel and file a new one for that. Pass only what changes; anything omitted keeps its current value. A whole-day request takes from/to; an hourly one takes startTime/endTime. Re-validated against Woffu before saving, so a weekend, a holiday or an overdraw is refused. Confirm the change with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | New last day, inclusive (YYYY-MM-DD). Whole-day requests. | |
| from | No | New first day (YYYY-MM-DD). Whole-day requests. | |
| comment | No | Replacement note. | |
| endTime | No | New end (HH:MM). Hourly requests. | |
| requestId | Yes | The request to change, from list_time_off_requests. | |
| startTime | No | New start (HH:MM). Hourly requests. |