Write VPS File
vps_write_fileWrite content to a file on a selected VPS, creating or overwriting it. Targets production or development instances.
Instructions
Write content to a file on the selected VPS. Creates the file if it doesn't exist, overwrites if it does. Targets Hetzner prod by default; pass instance='dev' for the OrbStack ubuntu machine.
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": "vps_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path for the file on the VPS | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| content | Yes | Content to write | |
| instance | No | Which VPS to target: 'prod' (Hetzner at 178.156.247.239 via SSH) or 'dev' (local OrbStack machine via `orb run`). Defaults to 'prod'. Must match the Coolify instance when debugging Coolify-managed containers — mismatched routing silently hits the wrong host. | prod |