create_circle
Create a new Nextcloud circle (team) with optional personal or local visibility and an optional shared team folder. Returns its generated ID.
Instructions
Create a new circle (team).
Args: name: Display name of the new circle. Does not have to be unique. personal: If True, create a personal circle visible only to the owner (useful for private contact groups). local: If True, mark the circle as local (not federated to other instances) even when global scope is enabled. team_folder: If True, also create a team folder: a shared folder every member sees in Files, named after the team (with a number added when that name is taken; see its mountPoint). Needs Nextcloud 35 or later with the Team folders app. Deleting the team later deletes the folder and its files too.
Returns:
JSON of the new circle including its generated id. The caller is
automatically added as owner (level=9). With team_folder, it also
has team_folder (id, mountPoint, quota) or null with
team_folder_note saying why none was created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| local | No | ||
| personal | No | ||
| team_folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |