mavis_write
Write full content to a file, overwriting existing data and creating missing parent directories. Use for new files or complete rewrites rather than targeted edits.
Instructions
Write content to a file, overwriting any existing content. Creates parent directories as needed. Use this for new files or full rewrites. For targeted edits, use mavis_edit instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Subdirectory to resolve path against. | |
| path | Yes | Path relative to workspace root (or absolute within workspace). | |
| content | Yes | The full file content to write. |