read_file
Read the complete contents of any file in the Lampa repo, with configurable truncation for large files.
Instructions
Read the complete contents of any file in the Lampa repo. Files larger than max_lines are truncated — use read_file_segment to read specific sections of large files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Repo-relative path, e.g. 'plugins/iptv/iptv.js', 'src/core/lang.js', 'gulpfile.js'. | |
| max_lines | No | Maximum lines to return. Default: 300. |