Create folder
create_folderCreates a new folder inside a workspace, optionally nested under a parent folder. Folder names must be unique among siblings (case-sensitive, max 80 chars) and nesting is capped at 5 levels. Returns the created folder row. Use list_folders first to look up the parent_id when creating a subfolder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name (max 80 chars). Must be unique among siblings under the same parent. | |
| parent_id | No | Optional parent folder id. Omit or pass null to create a top-level folder. Must belong to the same workspace. | |
| workspace_id | Yes | Workspace to create the folder in. Get it from list_workspaces. The user must be a member. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |