write_file
Write content to any file, automatically escalating to sudo for protected paths to avoid permission errors.
Instructions
Write content to a file, escalating to sudo if the path is protected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | File content. | |
| filename | Yes | Destination path. |