upload-file
Transfers a single local file to a specified path on a NAS over SMB/CIFS, enabling direct storage of local files on network-attached storage.
Instructions
上传单个文件到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": {
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "upload-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | 本地文件路径 | |
| remotePath | Yes | NAS上的目标路径 |