Read File
readOpen a text file with line numbers, specifying start and end lines to inspect exact content. Avoids re-reading files after modifications unless final content is required.
Instructions
Read a specific text file with line numbers. Avoid rereading files after write/edit/apply_patch 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 bytes returned in this page. Capped by the server and MCP response limits. | |
| start_line | No | First line to read. Default: 1. | |
| workspace_id | No | Workspace id from open_workspace. Omit to use default workspace. |