Read file
read_fileRetrieve a selected range of lines or bytes from a UTF-8 text file in the configured workspace to inspect code without loading the whole file.
Instructions
Read a UTF-8 text file slice inside the configured workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| encoding | No | utf-8 | |
| end_line | No | ||
| max_bytes | No | ||
| max_lines | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No |