get_leave_history
Retrieve an employee's leave history by providing their employee ID.
Instructions
Get the leave history of an employee. :param emp_id: Employee ID :return: Leave history message
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_leave_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |