write_file
Overwrite a file's full content on a remote server via SFTP. Use this when you need to replace an entire file, not for surgical edits.
Instructions
Overwrite an entire file on remote server via SFTP. WARNING: replaces full file content. For surgical edits on large files, use replace_in_file instead. Requires approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| reason | No | Human-readable explanation of what is being written and why (for audit log) | |
| server | Yes | Server name | |
| content | Yes | File content |