write_file
Writes content to a specified file path, automatically creating any missing parent directories to simplify file creation tasks.
Instructions
Write content to file. Creates parent dirs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path. | |
| content | Yes | Content to write. | |
| encoding | No | Encoding: utf8|base64. Default: utf8. | |
| create_parents | No | Create parent dirs. Default: true. |