rename_item
Rename a file or folder on zspace NAS by providing the full path and a new name. Supports both personal and team space directories.
Instructions
重命名 zspace 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>",
"newname": "<newname>"
},
"name": "rename_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件/文件夹的完整路径,如 /sata12/my/data/旧名称,支持个人空间和团队空间 | |
| newname | Yes | 新名称(仅名称,不包含路径) |