mkdir
Create directories with optional parent directory creation, permission settings for Unix/Linux, and dry-run preview capability.
Instructions
Create a directory. Creates parent directories by default (like mkdir -p). Supports permission mode in octal (e.g. 0755, 0700) — applied on Unix/Linux. Use dry_run=true to preview.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the directory to create,required | |
| recursive | No | Create parent directories as needed (like mkdir -p). Default: true | |
| mode | No | Directory permission mode in octal (e.g. 0755, 0700). Default: 0755. Applied on Unix/Linux only | |
| dry_run | Yes | Preview what would be created without actually creating (default false) |