fs_write_file
Write content to a file, creating or overwriting it. Use for new files or full rewrites without preserving existing BOM or EOL style.
Instructions
Write content to a file, creating or overwriting it.
Use this for new files or full rewrites. Does not preserve existing BOM or EOL style — use fs_edit_file for that.
Returns: {"path", "bytes_written", "bom_preserved", "eol_style"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |