HR: Publish form version
hr_publish_form_versionPublish a form's DRAFT version — freeze it and make it the form's current one, which is what makes the form assignable at all (hr_assign_form refuses an unpublished form). Take 'version_id' from hr_list_forms' 'draft_version_id'. Only a draft can be published, and only a version with at least one question: the schema is validated HERE so a broken form can never reach a candidate. Publishing demotes whatever version was current before — answers already collected keep pointing at the version they were given, so their meaning does not change. A published version is IMMUTABLE afterwards; editing means forking a new draft. 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": {
"version_id": "<version_id>"
},
"name": "hr_publish_form_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_id | Yes |