Human resources · calculate_leave_balance
Leave balance
Employee leave balance from the connected HRIS.
- Price
- included
- Requirements
- BambooHR or Personio or Lucca or PayFit
- set it up in Settings → Integrations
- Human approval
- No
- read or internal write
Input
| Field | Type | Description |
|---|---|---|
| employeeId | string | Employee DB ID (from list_employees) |
| employeeEmail | string | Alternative to employeeId: the employee email |
| employeeName | string | Alternative to employeeId: the employee full name (must be unambiguous) |
| leaveType | string | Filter by leave type (cp, rtt, recup, maladie, maternite, paternite, evenement_familial, sans_solde). Omit to return all types. |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"calculate_leave_balance","input":{"employeeId":"…","employeeEmail":"…","employeeName":"…","leaveType":"…"}}'$
run({ "tool": "calculate_leave_balance", "input": {"employeeId":"…","employeeEmail":"…","employeeName":"…","leaveType":"…"} })