stream_large_file
Read and process very large files by streaming them in configurable chunks, specifying chunk size, offset, and maximum bytes to avoid loading the entire file into memory.
Instructions
Stream a large file in chunks. Returns multiple chunks for processing very large files efficiently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file | |
| chunkSize | No | Chunk size in bytes (default: 65536 - 64KB) | |
| startOffset | No | Starting byte offset (default: 0) | |
| maxBytes | No | Maximum bytes to stream (optional) | |
| maxChunks | No | Maximum number of chunks to return (default: 10) |