sfsturbo__UpdateFsDirQuota
Updates the quota for a target directory on a Huawei Cloud SFS Turbo file system, allowing you to set capacity or inode limits to control storage usage.
Instructions
[SFSTURBO] 更新目标文件夹quota
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>",
"project_id": "<project_id>",
"share_id": "<share_id>"
},
"name": "sfsturbo__UpdateFsDirQuota"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 合法的已存在的目录的全路径 | |
| inode | No | 目录的inode数量限制; 设置为0会导致数据无法写入目录; capacity和quota至少二选一 | |
| capacity | No | 目录的容量大小,单位:MB; 设置为0会导致数据无法写入目录; capacity和quota至少二选一 | |
| share_id | Yes | 文件系统id | |
| project_id | Yes | 项目id |