tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based (#13198)

This commit is contained in:
Aiden Cline
2026-02-11 14:02:30 -06:00
committed by GitHub
parent 69138c2d69
commit 0b621489f2
4 changed files with 38 additions and 13 deletions
+1
View File
@@ -3,6 +3,7 @@ Read a file or directory from the local filesystem. If the path does not exist,
Usage:
- The filePath parameter should be an absolute path.
- By default, this tool returns up to 2000 lines from the start of the file.
- The offset parameter is the line number to start from (1-indexed).
- To read later sections, call this tool again with a larger offset.
- Use the grep tool to find specific content in large files or files with long lines.
- If you are unsure of the correct file path, use the glob tool to look up filenames by glob pattern.