Skip to content

Commit da071bf

Browse files
committed
Refactor section headers in read_file documentation for consistency
1 parent f7ef521 commit da071bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/features/tools/read-file.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The tool uses a clear decision hierarchy to determine how to read a file:
8787

8888
Here are several scenarios demonstrating how the `read_file` tool is used and the typical output you might receive.
8989

90-
### 1. Reading an Entire File
90+
### Reading an Entire File
9191

9292
To read the complete content of a file:
9393

@@ -106,7 +106,7 @@ To read the complete content of a file:
106106
```
107107
*(Output will vary based on the actual file content)*
108108

109-
### 2. Reading Specific Lines
109+
### Reading Specific Lines
110110

111111
To read only a specific range of lines (e.g., 46-68):
112112

@@ -126,7 +126,7 @@ To read only a specific range of lines (e.g., 46-68):
126126
```
127127
*(Output shows only the requested lines with their original line numbers)*
128128

129-
### 3. Reading a Large File (Auto-Truncation)
129+
### Reading a Large File (Auto-Truncation)
130130

131131
When reading a large file without specifying lines and `auto_truncate` is enabled (or defaults to true based on settings):
132132

@@ -148,7 +148,7 @@ When reading a large file without specifying lines and `auto_truncate` is enable
148148
```
149149
*(Output is limited to the configured maximum lines, with a truncation notice)*
150150

151-
### 4. Attempting to Read a Non-Existent File
151+
### Attempting to Read a Non-Existent File
152152

153153
If the specified file does not exist:
154154

@@ -164,7 +164,7 @@ If the specified file does not exist:
164164
Error: File not found at path 'non_existent_file.txt'.
165165
```
166166

167-
### 5. Attempting to Read a Blocked File (.rooignore)
167+
### Attempting to Read a Blocked File
168168

169169
If the file is excluded by rules in a `.rooignore` file:
170170

0 commit comments

Comments
 (0)