Share machine
rillsoft_machine_sharing_createMake several tasks share one machine or machine role so the resource is consumed once instead of multiple times, replacing individual assignments with a shared entry.
Instructions
Lets several tasks share one machine or machine role: the individual assignments go away and the resource is consumed once instead of n times - one crane used by three tasks is one crane. Beware, this loses information: quantity and utilization of the shared entry are the maximum over all participants, exactly as in the 'Share' menu. rillsoft_machine_sharing_release is therefore not an inverse - a task taken back out gets the shared value, not its original one. Afterwards the resource appears in rillsoft_project_tree_get under sharedAssignments[] and no longer under machineAssignments[] or machineRoleAssignments[]. In a portfolio all tasks must belong to the same project - shared use stays within one project. 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": {
"type": "<type>",
"resourceId": "<resourceId>",
"taskUuids": "<taskUuids>"
},
"name": "rillsoft_machine_sharing_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | shared use is computed for these two kinds only | |
| taskUuids | Yes | UUIDs of the tasks that shall share the resource from now on; each of them has to carry it on its own today | |
| resourceId | Yes | id of the machine role or machine from rillsoft_resource_pool_catalog_list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | kind of the shared resource | |
| tasks | Yes | the tasks involved after the change | |
| resourceId | Yes | id of the machine role or machine |