read_file
Reads UTF-8 text from an approved local root, truncating large files at a byte limit with a clear marker. Use it to inspect file contents after locating paths; read-only and no binary support.
Instructions
Read text from an approved local root as UTF-8, truncating at MAX_READ_BYTES (512 KB by default) with a clear truncation marker. Use search_files first to locate passages; binary files are not supported. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative file or directory path inside the approved root. | |
| root | Yes | Name of a configured approved root returned by list_roots. |