Write file on VPS
vps_write_fileWrite content to a file on a VPS via SFTP. Parent directories are created automatically. Refuses critical system paths. Max 32 MB.
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": {
"id": "<id>",
"path": "<path>",
"content": "<content>"
},
"name": "vps_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The VPS ID | |
| path | Yes | Absolute path of the file to write | |
| content | Yes | The file content to write | |
| encoding | No | Content encoding (default utf8). Use base64 for binary files. |