read_file
Read a UTF-8 text file and get its raw contents as plain text, avoiding JSON escaped output. For long files, truncation is reported with the exact call to continue reading.
Instructions
Read a UTF-8 text file.
Returns the file's text directly, NOT wrapped in JSON. A JSON envelope would escape every newline in the content onto a single line, which is hard to read and expensive in context.
Long files are truncated rather than refused, and the truncation is reported with the exact call needed to continue. This is a read-only operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_lines | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |