All tools

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

FieldTypeDescription
employeeIdstringEmployee DB ID (from list_employees)
employeeEmailstringAlternative to employeeId: the employee email
employeeNamestringAlternative to employeeId: the employee full name (must be unambiguous)
leaveTypestringFilter 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":"…"} })