document_delete
Delete a source document's chunks from a collection without affecting other data. Requires explicit confirmation to proceed.
Instructions
Deletes every chunk belonging to one source document from a collection, without touching the rest. Destructive — requires confirm_doc_id to exactly match doc_id, and is blocked in read-only mode. Use only when the user has explicitly confirmed the deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| collection | Yes | ||
| confirm_doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| collection | Yes | ||
| chunks_deleted | Yes |