write
Create or overwrite a file at a specified path, auto-generating any absent parent directories.
Instructions
Writes a file, automatically creating any missing parent directories. Completely overwrites the file if one already exists.
IMPORTANT: Because it overwrites entirely, ensure you have the complete file context before modifying existing files. For partial changes to existing files, prefer using the edit tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file to write. | |
| content | Yes | The complete content to write to the file. |