create_dir
Create a directory and all missing parents to establish an empty folder, useful for organizing a repository before adding files.
Instructions
Create a directory (including parents). write_file already creates parent directories, so this is only needed for empty 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_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory to create. | |
| workspace | No | Workspace alias. Defaults to the active workspace. |