Safely delete file
delete_fileDelete a file only when its current SHA-256 matches the expected hash, preventing accidental removal of modified files. Provide project, path, and hash to proceed.
Instructions
Delete one existing file only when the caller supplies its exact current SHA-256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| project | Yes | ||
| expectedSha256 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| deleted | Yes | ||
| project | Yes |