Create a folder
create-directoryCreate a folder in Foundry VTT data storage, automatically creating missing parent folders. Skips existing folders and avoids modules, systems, or other worlds. Supports dry-run checks.
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. |