sftp_enviar
Upload a local file to an SFTP server, placing it in the target remote directory or path. If the destination exists, set overwrite=true to back up the current version before replacement.
Instructions
Envia um arquivo local ao servidor. caminho_remoto terminado em "/" ou que seja pasta recebe o nome do arquivo local. Respeita raizes_escrita, se o perfil tiver. Se o destino existe, exige sobrescrever=true e baixa a versao atual para backups/ antes de substituir.
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": {
"perfil": "<perfil>",
"arquivo_local": "<arquivo_local>",
"caminho_remoto": "<caminho_remoto>"
},
"name": "sftp_enviar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| perfil | Yes | ||
| sobrescrever | No | ||
| arquivo_local | Yes | ||
| caminho_remoto | Yes |