sftp_write
Write content directly to a remote file over SFTP, creating it or overwriting existing content. Use this to transfer text or configuration files to a connected host.
Instructions
Write content to a file on a connected remote host via SFTP. Creates or overwrites the file.
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": {
"connectionId": "<connectionId>",
"remotePath": "<remotePath>",
"content": "<content>"
},
"name": "sftp_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to write to the file | |
| remotePath | Yes | Absolute path to the remote file | |
| connectionId | Yes | The connection ID |