atomic-writer
Write file content securely with automatic backups and path validation. Prevents accidental overwrites and ensures safe file operations.
Instructions
Writes file content with automatic backup creation and path safety validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Filesystem path to write, relative or absolute to the project root. | |
| content | Yes | Content to persist to the target file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bytesWritten | Yes | ||
| backupCreated | Yes |