Convert document into Docling document
convert_document_into_docling_documentConvert a document from a URL or local path into a Docling document, cache it, and return a unique key. Skips conversion if already cached, indicated by a boolean.
Instructions
Convert a document of any type from a URL or local path and store in local cache.
This tool takes a document's URL or local file path, converts it using the configured converter (remote API or local), and stores the resulting Docling document in a local cache. It returns an output with a boolean set to False along with the document's unique cache key. If the 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 URL or local file path to the document. Object-storage URIs (abfs://, az://, gcs://, gs://, s3://) are supported when the matching provider extra is installed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_cache | Yes | ||
| document_key | Yes |