safe_write
Write content to a file while blocking protected system or user paths; existing files require overwrite and are quarantined first for safe rollback.
Instructions
Write content to a file, refusing system-critical or user-protected paths. If the file already exists, requires overwrite:true and automatically backs up the previous version to the quarantine folder first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to write | |
| content | Yes | ||
| overwrite | No |