delete
Remove outdated or incorrect documents or collections before re-ingesting them. Specify name and kind to delete instantly; background processing handles the rest.
Instructions
Use to remove stale or wrong content before re-ingesting it.
Returns immediately — the daemon removes chunks in the background.
Args: name: Document filename or collection name to delete. kind: What to delete — "document" or "collection". collection: Optional collection scope (only for kind="document").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | document | |
| name | Yes | ||
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |