Locked · Module 4, lesson 2 of 8
The read tool: files, line ranges and size limits
Write `read_file` with line numbers, a line range and a size limit, and make it refuse a path that leaves the repository, including through `..` and a symbolic link.
This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.
The 7 lessons of module 1 are free: see the lessons of the course.
How tool calling works: a name, a schema and a resultNext: The search tool: finding code by text and by name
