HR: Update engagement
hr_update_engagementCORRECT an existing employment period — a mistyped start date, a move to another shop, a promotion, a new manager. Only the fields you pass change. Use this rather than opening a second period when the first one is simply wrong: two overlapping periods for one job double-count that person in every headcount. Ending a period is NOT here — that is hr_close_engagement, which carries the reason rules. A period may never end before it starts, so moving 'started_on' past an existing end date is refused. Requires confirmation. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"engagement_id": "<engagement_id>"
},
"name": "hr_update_engagement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| status | No | ||
| ended_on | No | ||
| schedule | No | ||
| started_on | No | ||
| location_id | No | ||
| org_unit_id | No | ||
| position_id | No | ||
| engagement_id | Yes | ||
| employment_type | No | ||
| probation_until | No | ||
| personnel_number | No | ||
| manager_person_id | No |