mkdir
Create directories with automatic parent creation and permission mode support. Use dry-run to preview changes.
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
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path of the directory to create,required | |
| file_path | No | Alias for path | |
| 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 | No | Preview what would be created without actually creating: true or false. Default: false |