write
Create or overwrite a file with specified content while preserving original encoding and using editorconfig hints. Auto-creates 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 |
|---|---|---|---|
| path | No | Alias for file_path | |
| content | Yes | Content to write to the file | |
| file_path | No | File to write. Relative paths use the configured workspace or MCP client root |