Create folder
create_folderCreate a folder to organize sites. space is the drive: personal (default) or shared (Pro workspaces only). Pass parent_id (from list_folders) to nest it; omit for a top-level folder. A nested folder must share its parent’s drive. A shared folder is open to the whole workspace by default; pass open_to_team: false to start it restricted, addressable at its slug but visible only to the creator and members they invite (refused for the marketing folder and any folder inside it, which are open to the workspace). Returns the new folder, with the slug derived from its name; in the website workspace the landing-page folder must end up slugged marketing, so check the returned slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The folder name | |
| space | No | `personal` (default) or `shared` for the workspace’s shared drive | |
| parent_id | No | Parent folder id from list_folders to nest under; omit for top level | |
| open_to_team | No | Shared drive only: false starts the folder restricted (invite-only) instead of open to everyone in the workspace | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |