get_leave_history
Retrieve an employee's leave history by providing their employee ID. Returns a list of leave records for HR review.
Instructions
Get the leave history of an employee.
Args: emp_id (str): the employee ID for whom the leave history is being requested
Returns: List[Dict[str, str]]: List of leave history entries
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 |