apply_leave
Submit a leave request for an employee by specifying employee ID, leave type, start and end dates, and reason. Select from casual, sick, earned, or unpaid leave; the system records the request for approval or further processing.
Instructions
Apply for leave for an employee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| endDate | Yes | ||
| leaveType | Yes | ||
| startDate | Yes | ||
| employeeId | Yes |