Create a folder
create-directoryCreate folders in Foundry VTT data storage, including missing parent folders, while preserving existing ones. Excludes modules, systems, and other worlds; requires write permission.
Instructions
Create a folder in Foundry's data storage, with any missing folders above it. Never inside modules, systems or another world. An existing folder is left as it is. Needs the write switch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The folder to create, such as "worlds/<world>/handouts" | |
| dryRun | No | Only check and report what would happen; nothing is written. Needs no write permission. |