Update departments
yougile_departments_updateModify department settings: rename, reparent, update member roles, or soft-delete.
Instructions
Update a department (rename, reparent, members, soft-delete).
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": {
"id": "<id>"
},
"name": "yougile_departments_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource id (UUID). | |
| title | No | ||
| parentId | No | ||
| users | No | Map of userId → role, e.g. {"<uuid>":"admin"}. | |
| deleted | No |