Assign machine
rillsoft_task_machine_assignment_setAssign a specific existing machine to a task or remove that assignment by setting quantity to 0; it edits one task's machine link without changing master data or machine sharing.
Instructions
Assigns one specific existing machine to a task, or removes that assignment with quantity 0. The twin of rillsoft_task_employee_assignment_set; machines carry neither an employment period nor an efficiency. It touches one task - letting several tasks share one machine goes through rillsoft_machine_sharing_create. The master data stays untouched; an overload over time is a legitimate planning state and shows up in the report. 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>",
"machineId": "<machineId>",
"quantity": "<quantity>"
},
"name": "rillsoft_task_machine_assignment_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | Yes | 1 assigns, 0 removes the assignment | |
| taskUuid | Yes | UUID of the task | |
| machineId | Yes | id of the machine from rillsoft_resource_pool_catalog_list | |
| 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 | |
| machineAssignments | Yes | the assignments of the task after the change |