sftp_write
Write content to a remote file via SFTP. Requires an active SSH session, file path, and content to transfer.
Instructions
Write content to a remote 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": {
"sessionId": "<sessionId>",
"path": "<path>",
"content": "<content>"
},
"name": "sftp_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| path | Yes | Remote file path | |
| content | Yes | Content to write | |
| encoding | No | File encoding | utf-8 |