hcm_create_worker_assignment
Create a nested worker assignment for a worker under an existing period of service, with changes submitted for approval unless write mode is enabled.
Instructions
Create nested worker assignment under workRelationships/.../assignments (approval unless --write).
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": {
"workerId": "<workerId>",
"body": "<body>"
},
"name": "hcm_create_worker_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| workerId | Yes | ||
| periodOfServiceId | No |