Retrievers
File Attachment Retriever
Get the content of file attachments as Document.
Category: Retrievers · Plans: Trial, Starter, Pro, Premium, Enterprise · Type: FileAttachmentRetriever
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Max Tokens | Number | No | 3000 | The maximum number of tokens in the output text. |
| Strategy | Text | No | Include equal size from each documents | The 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 OCR | Yes/No | No | Off | Apply OCR to the document. Useful for documents containing images. |
| Attachment ID | Text | No | (empty) | Optional file ID to scope vision analysis to a specific attachment. |
Outputs#
| Output | Type |
|---|---|
| Documents | Any |
| Document Count | Any |
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.