ugreen_move_file
Move or rename NAS files and directories, using destination directory paths for cross-folder moves or plain filenames for same-folder renames; supports conflict handling and dry-run checks.
Instructions
移动或重命名一个 NAS 文件/目录。跨目录 destination 必须是已存在的目录绝对路径;同目录改名只能给不含斜杠的纯文件名。跨目录改名分成两步,不使用“目录/新文件名”。默认同名自动改名,replace 会覆盖;先 dry_run 核对。仅操作用户指定的对象;写操作失败后先查询当前状态,不自动重试。权限由绿联令牌与 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": {
"source_path": "<source_path>",
"destination": "<destination>"
},
"name": "ugreen_move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| destination | Yes | ||
| on_conflict | No | rename | |
| source_path | Yes |