sftp_write
Write content to a remote file over SFTP, creating it if missing or overwriting existing content.
Instructions
Write content to a remote file. Creates the file if it doesn't exist, overwrites if it does.
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": {
"path": "<path>",
"content": "<content>"
},
"name": "sftp_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote file path to write | |
| content | Yes | Content to write to the file | |
| timeout | No | Abort this SFTP operation if it makes no progress for this many milliseconds | |
| session_id | No | Session ID (optional if using pre-configured server) |