leave_circle
Remove the current user from a Nextcloud circle, transferring ownership if needed or destroying the circle when they are the last member. Requires confirmation to delete the team folder.
Instructions
Leave a circle the current user is a member of.
IMPORTANT: When the owner leaves, the server makes another member the owner (the highest level, then the longest-standing). Any entry of list_circle_members counts, even a group, a nested circle or a pending invitation or join request. When the owner is the last one, leaving destroys the entire circle, with no confirmation prompt. Because of this implicit destroy, this tool requires DESTRUCTIVE permission (matching leave_conversation in Talk).
Args: circle_id: String circle id. delete_team_folder: Destroying the circle also deletes its team folder (Nextcloud 35+ with the Team folders app) and every file in it. When that would happen, the tool refuses unless this is true.
Returns: JSON of the circle the user just left (circle fields: id, name, config, population, initiator, …). Empty when the caller loses visibility on the circle after leaving (e.g. when the circle is destroyed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circle_id | Yes | ||
| delete_team_folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |