create_group
Create a new Nextcloud group by specifying an immutable group ID and optional display name, then add users with update_user. Requires admin rights.
Instructions
Create a new group. Requires admin rights (or delegated user administration).
Add users to it with update_user (its "groups" field).
Args: group_id: The group ID, used by the other tools to refer to it. Cannot be changed later. display_name: Name shown in the web interface. Defaults to the ID.
Returns: Confirmation message.
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": {
"group_id": "<group_id>"
},
"name": "create_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | ||
| display_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |