create_directory
Create directories and nested folder structures, automatically generating all missing parent directories. Use for setting up project layouts and organizing files.
Instructions
CREATE NEW DIRECTORIES and folder structures. Automatically creates all parent directories (like 'mkdir -p'). Use for creating folders, setting up directory structures, organizing project layout. Keywords: create directory, mkdir, make folder, new folder. / 创建新目录和文件夹结构。自动创建所有父目录(类似 'mkdir -p')。关键词:创建目录、新建文件夹。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The directory path to create. Can be absolute or relative. Supports nested paths - all parent directories will be created automatically. Examples: 'src/utils' (creates src/ and src/utils/), '/tmp/mydir' (absolute path), 'docs/api/v1' (creates docs/, docs/api/, and docs/api/v1/). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |