Delete a RAG Source
rag_deleteRemoves all indexed chunks for a specific source from the RAG store, using the exact path from rag_list. Returns the count of deleted chunks and updated store totals.
Instructions
Remove all indexed chunks for a source from the RAG store. The source must match the path stored at index time (an absolute path) — use rag_list to find exact paths. The original file on disk is not touched.
Args:
source (string): Source path to delete, exactly as shown by rag_list.
Returns the number of chunks deleted and the updated store totals.
Example: { "source": "/tmp/ragcorpus/cooking.md" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source path to delete (as shown by rag_list) |