list_leaves_for_employee
Get all leave records for an employee using their employee ID. Shows complete leave history for review and tracking.
Instructions
List all leave entries for a single employee.
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>"
},
"name": "list_leaves_for_employee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employee_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |