write_full_text
Write an entire text file with control over encoding, newline style, BOM, and final newline. Optionally ensure file integrity with base-hash protection.
Instructions
Write an entire text file with explicit style controls and optional base-hash protection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bom | No | preserve | |
| path | Yes | ||
| content | Yes | ||
| newline | No | preserve | |
| encoding | No | preserve | |
| base_hash | No | ||
| if_exists | No | overwrite | |
| create_dirs | No | ||
| final_newline | No | preserve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |