get_leave_history
Retrieve leave history for any employee by providing their employee ID. Access past leave records efficiently.
Instructions
Get the history of leaves of an Employee
:param emp_id: Id of an Employee
:returns : Leaves history messsageTool 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_leave_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |