arvan_ssh_upload_file
Write content to a remote file via SFTP. Supports plain text or base64 encoded content.
Instructions
Write content to a file on the server via SFTP.
content is plain text, or base64 when content_base64 is set.
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": {
"host": "<host>",
"remote_path": "<remote_path>",
"content": "<content>"
},
"name": "arvan_ssh_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| remote_path | Yes | ||
| content | Yes | ||
| content_base64 | No | ||
| username | No | ||
| port | No | ||
| private_key | No | ||
| key_file | No | ||
| password | No | ||
| passphrase | No | ||
| known_hosts | No |