files/read
Read file contents with precise control: specify byte offsets or line ranges, and stream large files in chunks for efficient handling.
Instructions
Precision reading of file contents with chunking/streaming support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to read | |
| limit | No | Number of bytes to read. | |
| offset | No | Starting byte offset. | |
| end_line | No | Ending line number (inclusive). | |
| privileged | No | Set to true to read as root | |
| start_line | No | Starting line number (1-indexed). Takes precedence over byte offsets. |