Create Directory
fs_create_directoryCreates folders and builds missing parent directories recursively, with an optional permission mode for access control. Use it to set up directory structures on local systems.
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": {
"path": "<path>"
},
"name": "fs_create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 可选文件夹权限(八进制字符串,如 "755") | |
| path | Yes | 要创建的文件夹路径 | |
| recursive | No | 是否递归创建父目录 |