Delete an app file
file_deletePermanently removes one stored file from a specified app by path, using an idempotency key to prevent duplicate deletions.
Instructions
Permanently delete one file an app has stored.
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": {
"command_id": "<command_id>",
"app": "<app>",
"path": "<path>"
},
"name": "file_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| path | Yes | ||
| actor | No | ||
| command_id | Yes | idempotency key (uuid) | |
| request_state | No | ||
| expected_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| app | Yes | ||
| note | No | ||
| path | Yes | ||
| reason | No | ||
| deleted | No | ||
| preview | No | ||
| expires_at | No | ||
| files_version | No | ||
| request_state | No |