CreateDirectory

FileTools

Security Level 2 - Write
SindByte tool execution flow: voice command, AI parse, execute, validate, result

Description

Create directories and complete folder structures with a single command! CreateDirectory supports recursive creation of nested paths and handles already existing folders intelligently.

With optional path validation and clear feedback about created or existing directories, you have full control over your file system structure. Perfect for project setup, backup structures, and automated folder creation.

Why This Tool Stands Out

Perfect for:

Developers who initialize project structures; system administrators who create backup paths; build systems that need output directories; and anyone who wants to automate folder hierarchies. Ideal for setup scripts and deployment routines.

Workflow support; time savings depend on the task

Instead of manually creating several nested folders, create complete directory trees with a single API call - including all parent paths that do not exist yet.

JSON Parameters

Example Call

{
  "tool": "CreateDirectory",
  "params": {
    "directoryPath": "C:\\Backup\\2024\\January\\Week1",
    "recursive": true
  }
}

Return Values

The tool returns an object with the following properties:

Example Usage

Step-by-step guide:

  1. Define the desired directory path (e.g., "C:\\Projects\\2024\\January\\Week1")
  2. Set recursive to true to create parent directories automatically
  3. Call the CreateDirectory tool with the parameters
  4. The tool creates all necessary directories in the hierarchy
  5. Check the return values for the number of directories created

Related Tools

Ready to Automate Your Directory Structure?

Use CreateDirectory for efficient project setup and backup structures. Integrate it into your workflows now!

Discover All FileTools
Back to FileTools