Create departments
yougile_departments_createCreate a new department by providing a title. Optionally specify a parent department to set hierarchy or assign users with roles.
Instructions
Create a department.
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": {
"title": "<title>"
},
"name": "yougile_departments_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Department title. | |
| parentId | No | Parent department id. | |
| users | No | Map of userId → role, e.g. {"<uuid>":"admin"}. |