ssh_write_file
Write content to a file on a remote SSH server, creating or overwriting the file at the specified path.
Instructions
Write content to a file on a remote server.
Creates or overwrites the file with the given content.
EXAMPLES:
ssh_write_file("proxmox", "/tmp/test.txt", "Hello World")
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": {
"server_name": "<server_name>",
"remote_path": "<remote_path>",
"content": "<content>"
},
"name": "ssh_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to write to the file | |
| remote_path | Yes | Remote file path to write | |
| server_name | Yes | Server name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||