apply_leave
Submit a leave request for an employee by specifying name, number of days, and reason. Validates input and records the application.
Instructions
Apply leave for an employee
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| reason | Yes | ||
| emp_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |