apply_leave
Submit leave requests for specified dates by entering employee ID and date list. Get confirmation with remaining leave balance.
Instructions
Apply for leave on specified dates.
:param employee_id: Employee ID (e.g. 'E004')
:param leave_dates: List of dates in YYYY-MM-DD format (e.g. ['2026-08-15', '2026-08-16'])
:return: Confirmation message with remaining balance
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"employee_id": "<employee_id>",
"leave_dates": "<leave_dates>"
},
"name": "apply_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employee_id | Yes | ||
| leave_dates | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |