write
Creates or overwrites files with specified content while preserving original encoding and auto-creating parent directories as needed.
Instructions
Creates or overwrites a file with the given content. Encoding-aware: preserves original encoding for existing files, uses .editorconfig hints for new files. Auto-creates parent directories if they don't exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the file to write | |
| content | Yes | Content to write to the file |