write
Write file content to an absolute path with automatic encoding detection and parent directory creation.
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 | No | Absolute path to the file to write | |
| path | No | Alias for file_path | |
| content | Yes | Content to write to the file |