Assign role
rillsoft_task_role_assignment_setAssign a required role (qualification) to a task or remove it by setting quantity to 0. Use this to define staffing needs without naming a person.
Instructions
Assigns a role (a professional qualification) from the existing pool to a task, or removes it again with quantity 0. A role is the requirement, not the person: filling it with someone concrete goes through rillsoft_task_employee_assignment_set, and rillsoft_task_role_assignment_derive works the other way round and rebuilds roles out of the people already assigned. Machine kinds are the mirror case (rillsoft_task_machine_role_assignment_set). One undo step.
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": {
"taskUuid": "<taskUuid>",
"roleId": "<roleId>",
"quantity": "<quantity>"
},
"name": "rillsoft_task_role_assignment_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | id of the qualification from rillsoft_resource_pool_catalog_list with types:["role"] | |
| quantity | Yes | how many people of this role; 0 removes the assignment | |
| taskUuid | Yes | UUID of the task | |
| utilization | No | utilization greater than 0 up to 1 (defaults to 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wbs | Yes | WBS code | |
| name | Yes | name | |
| uuid | Yes | UUID of the element | |
| start | Yes | start, DD.MM.YYYY hh:mm | |
| finish | Yes | finish, DD.MM.YYYY hh:mm | |
| number | Yes | number of the element; unique even for split tasks | |
| assignments | Yes | the assignments of the task after the change |