delete_document
Remove a document and its chunks from the knowledge base after updates or when no longer needed.
Instructions
Remove a document and all its chunks from the knowledge base.
This is useful when a document has been updated (you'll delete then re-index it) or when you no longer need it to be searchable.
Args: source: The filename of the document to remove, e.g. "design_doc.pdf". Use list_indexed_docs to see valid filenames.
Returns: Confirmation message with the number of chunks deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |