HR: Complete internship
hr_complete_internshipEnd an internship — and close its linked application in the SAME transaction with the SAME reason, so the drop-off report and the reasons report can never disagree about the person. 'status' is completed / failed / cancelled; a failed or cancelled close REQUIRES 'reason_id' and is refused without one. For a successful hire pass outcome='hire' AND 'hire_stage_id' — the application has to land on a terminal stage this workspace's own scheme defines, and the server must not guess which of your stages means 'hired'. 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": {
"internship_id": "<internship_id>",
"status": "<status>"
},
"name": "hr_complete_internship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| comment | No | ||
| outcome | No | ||
| ended_on | No | ||
| reason_id | No | ||
| hire_stage_id | No | ||
| internship_id | Yes |