Convert files from directory into Docling document
convert_directory_files_into_docling_documentConvert all files in a local directory into structured Docling documents stored in a local cache. Returns cache keys and skips documents already converted, enabling faster reuse.
Instructions
Convert all files from a local directory path and store them in local cache.
This tool takes a local directory path, converts every file in the directory using the configured converter (remote API or local) and stores the resulting Docling documents in a local cache. It returns a list of conversion outputs, where each output consists of a boolean set to False along with a document's unique cache key. If a document was already in the local cache, the conversion is skipped and the output boolean is set to True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The path to a local directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |