scp
Copy files to or from a remote server using SFTP. Specify upload or download direction, host, username, and file paths.
Instructions
Copy files to or from a remote host using SFTP (SCP-like)
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": "<target>",
"user": "<user>",
"direction": "<direction>",
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "scp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target host | |
| user | Yes | Username | |
| direction | Yes | Direction: upload (local to remote) or download (remote to local) | |
| localPath | Yes | Local file path (source for upload, destination for download) | |
| remotePath | Yes | Remote file path (destination for upload, source for download) | |
| privateKey | No | Private key for authentication (PEM format, optional, or path to key file) |