write_to_file
Write content to a file with options to overwrite or append, and select encoding (UTF-8, ASCII, binary, base64) for precise file management.
Instructions
Write content to a file with optional append mode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Write mode: append to existing file or overwrite | overwrite |
| content | Yes | Content to write to the file | |
| encoding | No | File encoding | utf8 |
| file_path | Yes | Path to the file to write to |