Cancel leave
leave_cancelCancel a pending or approved leave request by ID to withdraw it voluntarily while keeping the record with a cancelled status. Use when an employee no longer needs the requested time off.
Instructions
Cancel a pending or approved request by id, keeping its record with status cancelled. Differs from leave_reject in intent (voluntary withdrawal). Nothing happened if already cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why | |
| request | Yes | The request id (e.g. LV-0001). |