File Copy
file_copyCopies a source file to a target directory on an fnOS NAS, enabling automated file management and transfer through MCP clients.
Instructions
复制文件到目标目录(写操作)。
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": {
"src": "<src>",
"dest_dir": "<dest_dir>"
},
"name": "file_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | 源路径 | |
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| dest_dir | Yes | 目标目录 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |