Baidu Upload
baidu_uploadUpload local files to Baidu Netdisk through an fnOS NAS, with configurable conflict handling to fail, rename, or overwrite existing files.
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": {
"target_path": "<target_path>",
"local_files": "<local_files>"
},
"name": "baidu_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| conflict | No | rename | |
| local_files | Yes | 服务器本地文件路径列表 | |
| target_path | Yes | 网盘目标目录 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |