Retrievers

File Attachment Retriever

Get the content of file attachments as Document.

Category: Retrievers · Plans: Trial, Starter, Pro, Premium, Enterprise · Type: FileAttachmentRetriever

Inputs#

FieldTypeRequiredDefaultWhat it does
Max TokensNumberNo3000The maximum number of tokens in the output text.
StrategyTextNoInclude equal size from each documentsThe strategy to use for transforming the knowledge document to text. Options: Concat documents, fill from first up to tokens limit, Include equal size from each documents
Apply OCRYes/NoNoOffApply OCR to the document. Useful for documents containing images.
Attachment IDTextNo(empty)Optional file ID to scope vision analysis to a specific attachment.

Outputs#

OutputType
DocumentsAny
Document CountAny

Use as an agent tool#

Tool name: fileattachmentretriever

Read and extract TEXT content from non-image file attachments such as PDF, DOCX, XLSX, PPTX, TXT, CSV, JSON and HTML. This tool CANNOT read images (PNG, JPG, JPEG, GIF, WEBP) — for image attachments use VisionTool instead, which reads and analyzes images directly.