fs_overwrite
Overwrite an existing file while sending the original to trash for recovery, ensuring safe and reversible content replacement.
Instructions
Overwrite an existing file — backs the original up to trash first.
Unlike fs_write this replaces existing content but always
keeps a recoverable copy in ~/.praxis/trash/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||