For the complete documentation index, see llms.txt. This page is also available as Markdown.

Parse Files

Extract text from file URLs and divide it into smaller sections for later processing. Use this tool when another step needs the text of a document, rather than a link to the file.

Use this tool

  1. Provide downloadable addresses in File URLs, separated by commas, newlines, or semicolons.

  2. Enable OCR for scans or images that need text recognition.

  3. Choose Chunking Strategy, Chunk Size, and Chunk Overlap. Enable citation references when later answers need to refer to the source.

  4. Run the tool and inspect the parsed text. If Partial Success is enabled, also inspect Failed Files.

Behavior and limits

With Partial Success disabled, any file failure stops the action. With it enabled, at least one file must succeed and failed downloads or parsing attempts are reported separately. Store Parsed Text creates stored JSON files and returns their links in Parsed File URLs. Chunk size and overlap for this tool are measured in characters.

Inputs

Field
Parameter
Description

File URLs (required)

file_urls

The URLs of the files to parse, separated by commas, newlines, or semicolons.

OCR

ocr

Whether to use OCR for processing images and scanned documents Default: false.

Chunk Size

chunk_size

The approximate size of chunks (in characters) that the document will be split into

Chunk Overlap

chunk_overlap

Number of characters each chunk shares with the previous one. Overlap keeps context from being split across a boundary.

Chunking Strategy

chunker_type

Chunking strategy: 'sentence' splits on sentence boundaries (better semantic coherence); 'naive' splits on a fixed character window.

Get citation references

get_citation_references

Whether to also produce citation references for the parsed content. When disabled, only the chunked documents and full parsed text are returned. Default: true.

Partial Success

partial_success

If enabled, the action succeeds when at least one file is processed; files that fail to download or parse are reported on the failed_files output. If disabled, any failure aborts the action. Default: false.

Store Parsed Text

store_parsed_text

Store each file’s full parsed text as JSON and return the links in Parsed File URLs. Default: false.

Outputs

Field
Parameter
Description

Documents

documents

Parsed document sections for use by later processing steps.

Full Parsed Text

raw_files

The full parsed text for each source file.

Parsed File URLs

parsed_file_urls

Links to stored parsed-text JSON files when Store Parsed Text is enabled.

Citations

citations

The extracted citations from all processed files

Failed Files

failed_files

Files that could not be processed, with the stage at which they failed: download (URL existed but the fetch failed) or parse (file was downloaded but parsing failed). Only populated when Partial Success is enabled.

Was this helpful?