read_document
Extract plain text from TXT, DOCX, PDF, and Excel files. Enables reading document contents directly for automated processing.
Instructions
Reads and extracts text from a specified document file. Supports multiple document types: TXT, DOCX, PDF, Excel (XLSX, XLS).
:param filename: Path to the document file to read (supports absolute or relative paths) :return: Extracted text from the document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |