ugreen_create_directory
Creates a regular directory at a specified NAS path, with optional parent-directory creation, octal permission mode, and dry-run preview before writing.
Instructions
在指定 NAS 路径创建普通目录。parents 仅在用户要求创建缺失父目录时使用;mode 是八进制权限。创建共享注册项应使用专门的共享工具。仅操作用户指定的对象;写操作失败后先查询当前状态,不自动重试。权限由绿联令牌与 NAS 账户决定。
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": "ugreen_create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 0755 | |
| path | Yes | ||
| dry_run | No | ||
| parents | No |