Skip to content

Commit 97c4b88

Browse files
committed
chore: clean up read_file tool documentation by removing extra newlines
1 parent 5ddf892 commit 97c4b88

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

src/core/prompts/__tests__/__snapshots__/system.test.ts.snap

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
3333
## read_file
3434
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
3535
36+
37+
3638
Parameters:
3739
- args: Contains one or more file elements, where each file contains:
3840
- path: (required) File path (relative to workspace directory /test/path)
@@ -92,6 +94,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
9294
- You MUST use multiple ranges for content separated by >10 lines
9395
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
9496
97+
9598
## fetch_instructions
9699
Description: Request to fetch instructions to perform a task
97100
Parameters:
@@ -521,6 +524,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
521524
## read_file
522525
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
523526
527+
528+
524529
Parameters:
525530
- args: Contains one or more file elements, where each file contains:
526531
- path: (required) File path (relative to workspace directory /test/path)
@@ -580,6 +585,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
580585
- You MUST use multiple ranges for content separated by >10 lines
581586
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
582587
588+
583589
## fetch_instructions
584590
Description: Request to fetch instructions to perform a task
585591
Parameters:
@@ -1009,6 +1015,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
10091015
## read_file
10101016
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
10111017
1018+
1019+
10121020
Parameters:
10131021
- args: Contains one or more file elements, where each file contains:
10141022
- path: (required) File path (relative to workspace directory /test/path)
@@ -1068,6 +1076,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
10681076
- You MUST use multiple ranges for content separated by >10 lines
10691077
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
10701078
1079+
10711080
## fetch_instructions
10721081
Description: Request to fetch instructions to perform a task
10731082
Parameters:
@@ -1497,6 +1506,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
14971506
## read_file
14981507
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
14991508
1509+
1510+
15001511
Parameters:
15011512
- args: Contains one or more file elements, where each file contains:
15021513
- path: (required) File path (relative to workspace directory /test/path)
@@ -1556,6 +1567,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
15561567
- You MUST use multiple ranges for content separated by >10 lines
15571568
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
15581569
1570+
15591571
## fetch_instructions
15601572
Description: Request to fetch instructions to perform a task
15611573
Parameters:
@@ -2041,6 +2053,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
20412053
## read_file
20422054
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
20432055
2056+
2057+
20442058
Parameters:
20452059
- args: Contains one or more file elements, where each file contains:
20462060
- path: (required) File path (relative to workspace directory /test/path)
@@ -2100,6 +2114,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
21002114
- You MUST use multiple ranges for content separated by >10 lines
21012115
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
21022116
2117+
21032118
## fetch_instructions
21042119
Description: Request to fetch instructions to perform a task
21052120
Parameters:
@@ -2597,6 +2612,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
25972612
## read_file
25982613
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
25992614
2615+
2616+
26002617
Parameters:
26012618
- args: Contains one or more file elements, where each file contains:
26022619
- path: (required) File path (relative to workspace directory /test/path)
@@ -2656,6 +2673,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
26562673
- You MUST use multiple ranges for content separated by >10 lines
26572674
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
26582675
2676+
26592677
## fetch_instructions
26602678
Description: Request to fetch instructions to perform a task
26612679
Parameters:
@@ -3141,6 +3159,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
31413159
## read_file
31423160
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
31433161
3162+
3163+
31443164
Parameters:
31453165
- args: Contains one or more file elements, where each file contains:
31463166
- path: (required) File path (relative to workspace directory /test/path)
@@ -3200,6 +3220,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
32003220
- You MUST use multiple ranges for content separated by >10 lines
32013221
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
32023222
3223+
32033224
## fetch_instructions
32043225
Description: Request to fetch instructions to perform a task
32053226
Parameters:
@@ -3719,6 +3740,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
37193740
## read_file
37203741
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
37213742
3743+
3744+
37223745
Parameters:
37233746
- args: Contains one or more file elements, where each file contains:
37243747
- path: (required) File path (relative to workspace directory /test/path)
@@ -3778,6 +3801,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
37783801
- You MUST use multiple ranges for content separated by >10 lines
37793802
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
37803803
3804+
37813805
## fetch_instructions
37823806
Description: Request to fetch instructions to perform a task
37833807
Parameters:
@@ -4249,6 +4273,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
42494273
## read_file
42504274
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
42514275
4276+
4277+
42524278
Parameters:
42534279
- args: Contains one or more file elements, where each file contains:
42544280
- path: (required) File path (relative to workspace directory /test/path)
@@ -4308,6 +4334,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
43084334
- You MUST use multiple ranges for content separated by >10 lines
43094335
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
43104336
4337+
43114338
## fetch_instructions
43124339
Description: Request to fetch instructions to perform a task
43134340
Parameters:
@@ -4814,6 +4841,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
48144841
## read_file
48154842
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
48164843
4844+
4845+
48174846
Parameters:
48184847
- args: Contains one or more file elements, where each file contains:
48194848
- path: (required) File path (relative to workspace directory /test/path)
@@ -4873,6 +4902,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
48734902
- You MUST use multiple ranges for content separated by >10 lines
48744903
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
48754904
4905+
48764906
## fetch_instructions
48774907
Description: Request to fetch instructions to perform a task
48784908
Parameters:
@@ -5293,6 +5323,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
52935323
## read_file
52945324
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
52955325
5326+
5327+
52965328
Parameters:
52975329
- args: Contains one or more file elements, where each file contains:
52985330
- path: (required) File path (relative to workspace directory /test/path)
@@ -5352,6 +5384,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
53525384
- You MUST use multiple ranges for content separated by >10 lines
53535385
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
53545386
5387+
53555388
## fetch_instructions
53565389
Description: Request to fetch instructions to perform a task
53575390
Parameters:
@@ -5689,6 +5722,8 @@ Always adhere to this format for the tool use to ensure proper parsing and execu
56895722
## read_file
56905723
Description: Request to read the contents of one or more files. The tool outputs line-numbered content (e.g. "1 | const x = 1") for easy reference when creating diffs or discussing code. Use line ranges to efficiently read specific portions of large files. Supports text extraction from PDF and DOCX files, but may not handle other binary files properly.
56915724
5725+
5726+
56925727
Parameters:
56935728
- args: Contains one or more file elements, where each file contains:
56945729
- path: (required) File path (relative to workspace directory /test/path)
@@ -5748,6 +5783,7 @@ IMPORTANT: You MUST use this Efficient Reading Strategy:
57485783
- You MUST use multiple ranges for content separated by >10 lines
57495784
- You MUST include sufficient line context for planned modifications while keeping ranges minimal
57505785
5786+
57515787
## fetch_instructions
57525788
Description: Request to fetch instructions to perform a task
57535789
Parameters:

0 commit comments

Comments
 (0)