Tous les outils

Ressources humaines · create_employee

Créer une fiche employé

Enregistre un nouveau collaborateur.

Prix
inclus
Prérequis
Aucun connecteur
fonctionne sur les clés plateforme
Validation humaine
Non
lecture ou écriture interne

Entrée

ChampTypeDescription
employeesarrayBatch mode: the FULL list of employees to create in one call (preferred whenever there is more than one). When provided, the top-level single-employee fields are ignored.
firstNamestringFirst name
lastNamestringLast name
emailstringProfessional email — the idempotency key (same email = same employee, no duplicate)
jobTitlestringJob title / position
departmentstringDepartment / team
startDatestringStart date (YYYY-MM-DD)
endDatestringContract end date for CDD/stage/interim (YYYY-MM-DD)
managerIdstringemployeeId of the line manager (from list_employees)
managerEmailstringAlternative to managerId: the manager's email, resolved against the directory
contractTypecdi | cdd | stage | alternance | freelance | interimContract type
statusactive | onboarding | leaving | left | on_leaveInitial status (default: onboarding when startDate is in the future or missing, active otherwise)

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"create_employee","input":{"employees":[],"firstName":"…","lastName":"…","email":"…"}}'
$run({ "tool": "create_employee", "input": {"employees":[],"firstName":"…","lastName":"…","email":"…"} })