Delete a guarded text file
delete_text_fileDelete a text file only after verifying its latest SHA-256 hash matches the expected value, ensuring integrity within authorized project folders.
Instructions
Delete one regular text file only after verifying the latest SHA-256 returned by read_file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"path": "<path>",
"expectedSha256": "<expectedSha256>"
},
"name": "delete_text_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| projectId | Yes | ||
| expectedSha256 | Yes |