Batch Read Files for LLM Context
file_organizer_batch_read_filesReads all files in a folder to provide LLM context, extracting text content and media metadata, with filtering and size limits for efficient batch processing.
Instructions
Reads contents of all files in a specified folder for LLM context. For text files (documents, code, notes), reads the actual content. For media files (audio, video, images), reads metadata instead of binary content. Provides a comprehensive summary of folder contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Full path to the directory | |
| max_files | No | Maximum files to process (safety limit) | |
| file_types | No | Filter by file extensions (e.g., [".txt", ".pdf"]) | |
| include_content | No | Include text content | |
| include_subdirs | No | Include subdirectories | |
| response_format | No | markdown | |
| include_metadata | No | Include metadata | |
| max_file_size_mb | No | Max file size in MB to read content |