read_files
Read files and retrieve their content as structured JSON, with support for multiple paths, line ranges, and encoding options.
Instructions
Reads content from one or more files and returns JSON data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Single file path to read (alternative to paths array) | |
| paths | No | Array of file paths to read (maximum 10 files) | |
| endLine | No | Ending line number (1-based, optional) | |
| encoding | No | File encoding (default: utf-8) | utf-8 |
| startLine | No | Starting line number (1-based, optional) | |
| maxFileSize | No | Maximum file size to read in bytes (default: 1MB) | |
| showLineNumbers | No | Whether to show line numbers (default: true) |