create_directory
Create a new directory, including parent directories if missing, to set up folder structures for your projects.
Instructions
Create a new directory (Including parent 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": {
"dirPath": "<dirPath>"
},
"name": "create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirPath | Yes | Directory path | |
| allow_external_access | No | Set to true to allow creating directories outside the project root. User must explicitly approve this action. |