Create a wiki asset folder
wiki_create_asset_folderCreate a new asset folder under a specified parent (default root). If the folder already exists, reuse the existing one.
Instructions
Create a new asset folder under a parent folder (parentFolderId 0 = root). If the folder already exists the error says so — reuse the existing folder in that case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the folder. Defaults to the slug upstream. | |
| slug | Yes | URL-safe folder slug (lowercase letters, digits, hyphens, underscores), e.g. 'diagrams'. Becomes a segment of asset URLs. | |
| parentFolderId | No | Parent asset folder id. 0 is the root folder (the default). |