write_file
Create or overwrite file content with configurable encoding, append support, and automatic parent directory creation.
Instructions
Write content to file with optional encoding and directory creation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to write | |
| append | No | Append to file instead of overwriting | |
| content | Yes | Content to write to the file | |
| encoding | No | File encoding | utf8 |
| createDirs | No | Create parent directories if they don't exist |