write
Create or overwrite a file while preserving existing encoding, applying .editorconfig rules for new files, and creating parent directories automatically.
Instructions
Create or overwrite a file. Preserves existing encoding, uses .editorconfig for new files, and creates parent directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for file_path | |
| content | Yes | Content to write to the file | |
| file_path | No | File path; relative to workspace/MCP root |