anythingllm_remove_documents
Permanently delete documents from AnythingLLM storage and remove them from all workspaces. Specify document names to purge them completely from the system.
Instructions
Permanently delete one or more documents from the system.
This removes the documents from AnythingLLM storage entirely. They will also be removed from any workspaces that had them embedded.
Args: names: List of document names/paths as returned by list_documents (e.g. ['custom-documents/myfile.pdf-abc123.json']).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |