下载文件
download_fileDownloads one remote FTP/SFTP file to a random local staging directory and verifies its known size; optional server alias selects the source.
Instructions
将单个远程文件下载到本机随机 staging 目录并校验已知大小。
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": {
"remote_path": "<remote_path>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | 可选服务器别名;省略时使用默认服务器。 | |
| remote_path | Yes | 服务器虚拟绝对路径,以 / 开头;/ 表示配置的服务器 root。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||