Manage folders and sidebar groups
manage_folderCreate, rename, delete, favorite, and set covers for cloud drive folders. Organize them into sidebar groups and manage group structure.
Instructions
Folder CRUD plus sidebar organisation on the account's cloud drive (needs the "manage" scope; "list-groups" only needs "read"). "create" needs a title (optionally a groupId to create it inside a group). "rename" updates title and/or description. "delete" removes the folder — its creations detach to the drive root by default, or go to trash with trashContents=true; never a permanent delete. "set-favorite" stars/unstars a folder (starred folders feed the "favorites" smart collection). "set-poster" pins a creation as the folder cover (null clears it). "move-to-group" files the folder under a sidebar group (null detaches). Groups are the collapsible sidebar sections: "create-group" / "rename-group" take a title, "delete-group" only detaches its folders, "list-groups" shows them all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title — required for create/create-group/rename-group, optional for rename. | |
| action | Yes | What to do. | |
| groupId | No | The sidebar group: target for move-to-group ("none" detaches), the group to rename/delete, or where "create" files the new folder. | |
| favorite | No | set-favorite only — true to star the folder, false to unstar. | |
| folderId | No | The folder to act on (from list_folders). Not used by the *-group actions. | |
| description | No | Folder description (create/rename). | |
| trashContents | No | delete only — send the folder's creations to trash instead of detaching them. | |
| posterCreationId | No | set-poster only — the creation to pin as the folder cover, or "none" to clear it. |