Create Directory
create_directoryCreate a folder and any missing parent directories; it succeeds if the folder already exists. Use it to prepare paths before writing, copying, or moving files.
Instructions
Create a folder and any missing parents.
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 | Folder to create (parents included). No error if it exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||