openwebui_remove_file_from_knowledge
Remove a file from a knowledge base without deleting the file itself. Use this action to exclude specific files from a knowledge collection.
Instructions
Remove a file from a knowledge base. The file itself is not deleted — only removed from this collection. Use openwebui_delete_file to delete the file entirely.
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": {
"knowledge_id": "<knowledge_id>",
"file_id": "<file_id>"
},
"name": "openwebui_remove_file_from_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID to remove from this collection | |
| knowledge_id | Yes | Knowledge base ID |