ugreen_copy_file
Copies a NAS file or directory into an existing destination folder while preserving its name. Use dry_run to preview conflicts and choose rename, skip, or replace behavior.
Instructions
复制一个 NAS 文件或目录到已存在的目标目录,保留原名。destination_directory 必须是目录,不能写“目录/新文件名”;需要改名时另行移动为纯文件名。默认同名自动改名,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_directory": "<destination_directory>"
},
"name": "ugreen_copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| on_conflict | No | rename | |
| source_path | Yes | ||
| destination_directory | Yes |