Delete Docling document items at anchors
delete_document_items_at_anchorsRemoves specified items from a cached Docling document using anchor references, allowing targeted deletion of texts or tables without modifying the original file.
Instructions
Delete multiple document items identified by their anchors.
This tool removes specified items from a Docling document that exists in the local document cache, based on their anchor references. It requires that the document already exists in the cache before performing the deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_key | Yes | The unique identifier of the document in the local cache. | |
| document_anchors | Yes | A list of anchor references identifying the items to be deleted from the document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_key | Yes |