write
Creates or overwrites files with specified content, automatically handling encoding detection and parent directory creation for reliable file management.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the file to write | |
| content | Yes | Content to write to the file |