You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If `path` is a file, `view` displays the result of applying `cat -n` up to {self.__VIEW_LIMIT} characters. If `path` is a directory, `view` lists non-hidden files and directories.
27
+
* The output is too lone, it will be truncated and marked with `{self.__TRUNCATION_TOKEN}`
28
+
* The working directory is always {self.repo_path}
29
+
""",
30
+
"input_schema": {
31
+
"type": "object",
32
+
"properties": {
33
+
"path": {
34
+
"description": "Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`.",
35
+
"type": "string",
36
+
},
37
+
"view_range": {
38
+
"description": "Optional parameter when `path` points to a file. If none is given, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file.",
Custom editing tool for viewing, creating and editing files
22
102
23
103
* State is persistent across command calls and discussions with the user
24
-
* If `path` is a file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view` lists non-hidden files and directories up to 2 levels deep
25
104
* The `create` command cannot be used if the specified `path` already exists as a file
26
-
* If a `command` generates a long output, it will be truncated and marked with `<response clipped>`
27
105
* The working directory is always {self.repo_path}
"description": "Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`.",
59
137
"type": "string",
60
138
},
61
-
"view_range": {
62
-
"description": "Optional parameter of `view` command when `path` points to a file. If none is given, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file.",
0 commit comments