undo_write
Revert a sandbox file write to restore its previous contents, or delete the file if the write created it. Omit the path to undo the most recent write.
Instructions
Undo a sandbox file write: restores the previous contents, or deletes the file if the write created it. Without 'path' undoes the most recent write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File to revert (relative to the sandbox root); omit for the last write |