get_employee_leaves
Get an employee's leave balance by providing their employee ID. Displays remaining or total leave days.
Instructions
Get the leave balance of an Employee
:param emp_id: Id of an employee
:retuns : Remaning or the total number of leaves employee have or left
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": {
"emp_id": "<emp_id>"
},
"name": "get_employee_leaves"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |