fs_write
Create, overwrite, or append UTF-8 files with atomic writes and optional SHA-256 checks. Use for safe file updates in automated workflows.
Instructions
Create, overwrite or append a UTF-8 file. Overwrites are atomic by default and can use expectedSha256 as an optimistic concurrency guard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | overwrite | |
| path | Yes | ||
| atomic | No | ||
| content | Yes | ||
| createParents | No | ||
| expectedSha256 | No |