Delete a file
heliyos_files_deletePermanently deletes a single file by ID, removing knowledge-base files from worker access. This action cannot be undone, so confirm with the user first.
Instructions
Permanently deletes one file by id. A knowledge-base file also disappears from what the workers can read. This cannot be undone: confirm with the user first. Returns structuredContent {file_id, deleted}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File id from heliyos_files_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| file_id | Yes |