write_file
Write text content to a file on a remote server via SSH, overwriting existing file contents. Specify the server, remote path, and content to update files programmatically.
Instructions
Write content to remote file (overwrite)
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_id": "<server_id>",
"remote_path": "<remote_path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Text content to write | |
| server_id | Yes | Server ID (configured server_id or host:port from quick_connect) | |
| remote_path | Yes | Remote file path |