rsync_copy
Transfer files between local and remote servers using rsync. Specify direction (toRemote or fromRemote), local path, remote path, and stored SSH credential name for secure file synchronization.
Instructions
Copy files/directories between local and remote server via rsync
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": {
"credentialName": "<credentialName>",
"localPath": "<localPath>",
"remotePath": "<remotePath>",
"direction": "<direction>"
},
"name": "rsync_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentialName | Yes | Name of the stored credential to use | |
| direction | Yes | Direction of copy (toRemote or fromRemote) | |
| localPath | Yes | Path on the local machine | |
| remotePath | Yes | Path on the remote server |