Create Directory
create_directoryCreate new directories, including nested paths, or ensure required directories exist before file operations. Works within allowed directories; succeeds if already present.
Instructions
Create a new directory or ensure a directory exists. Can create multiple nested directories in one operation. If the directory already exists, this operation will succeed silently. Perfect for setting up directory structures for projects or ensuring required paths exist. Only works within allowed directories.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |