HR: List engagements
hr_list_engagementsWho WORKS here — the employment periods, newest start first. Read-only. Filters: 'person_id', 'status' (active/probation/suspended/leaving/ended), 'kind' (employee/intern/contractor/…), 'location_id', and 'open_only' (true = periods with no end date, i.e. the current staff). Each row carries the person, the position title, the shop, the manager, the dates and — once closed — the typed end reason. This is where the 'engagement_id' hr_close_engagement and hr_update_engagement take comes from; without it those writes name an id nothing could produce. One person may legitimately hold SEVERAL rows (a re-hire, or two roles at once), so match on the dates rather than assuming one row per person.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hr_list_engagements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| limit | No | ||
| offset | No | ||
| status | No | ||
| open_only | No | ||
| person_id | No | ||
| location_id | No |