Read File
readRead a file's content with line numbers, optionally specifying start and end lines to view targeted sections.
Instructions
Read a specific text file with line numbers. Avoid rereading files after write/edit unless exact final content is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to workspace root. | |
| end_line | No | Last line to read. Default: end of file. | |
| max_bytes | No | Maximum file bytes. Capped by server config. | |
| start_line | No | First line to read. Default: 1. | |
| workspace_id | No | Workspace id from open_workspace. Omit to use default workspace. |