create_directory
Create a directory at a specified path, and optionally create missing parent directories recursively.
Instructions
创建目录
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": {
"directoryPath": "<directoryPath>"
},
"name": "create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | 是否递归创建父目录(默认 true) | |
| directoryPath | Yes | 要创建的目录路径 |