write_file
Write content to a file, overwriting any existing content. Create parent directories automatically if needed.
Instructions
Write content to a file (overwrites existing content)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to write | |
| content | Yes | Content to write to the file | |
| encoding | No | File encoding (default: utf8) | utf8 |
| createDirs | No | Create parent directories if they don't exist |