上传目录
upload_dirUpload a local directory to an FTP or SFTP server path, item by item, within the configured root. Inspect status, failed, and indeterminate results before retrying.
Instructions
逐项上传本地目录。ok=true 仅表示工作流完成;必须检查 status、failed 和 indeterminate,结果不确定时不得整体重试。
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": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "upload_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | 可选服务器别名;省略时使用默认服务器。 | |
| overwrite | No | 是否请求安全原子覆盖;默认 false。 | |
| local_path | Yes | 本机绝对路径。 | |
| remote_path | Yes | 服务器虚拟绝对路径,以 / 开头;/ 表示配置的服务器 root。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||