read_multiple_files
Batch read multiple files concurrently with per-file mode control. Each file can specify full read, first N lines, last N lines, or an arbitrary line range. Supports text and documents like PDF, DOCX.
Instructions
Batch read multiple files concurrently with per-file mode control. Supports text and documents (PDF, DOCX, PPTX, XLSX, ODT, ODP, ODS). Each file can specify its own read mode: full, head (first N lines), tail (last N lines), or range (arbitrary line range). Document files ignore mode parameters and return full content. Processes files concurrently for performance. Maximum 50 files per operation. Only works within allowed directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of file read requests. Each request can specify its own read mode, allowing you to read different files with different modes in a single operation. For example, you can read the last 100 lines of one log file while reading lines 50-150 from another file simultaneously. |