Ask a question to get started
Enter to send•Shift+Enter new line
Read file content with line numbers.
read( self, file_path: str, offset: int = 0, limit: int = 2000 ) -> str
read(path, limit=100)
read(path, offset=100, limit=200)
file_path
str
Absolute path to the file to read. Must start with '/'.
offset
int
0
Line number to start reading from (0-indexed). Default: 0.
limit
2000
Maximum number of lines to read. Default: 2000.