Issue 101: Update file operation tool descriptions to indicate paths can be relative or absolute
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ Tool make_edit_tool() {
|
||||
{"properties", {
|
||||
{"filePath", {
|
||||
{"type", "string"},
|
||||
{"description", "The absolute path to the file to modify"}
|
||||
{"description", "The path to the file to modify (relative or absolute)"}
|
||||
}},
|
||||
{"oldString", {
|
||||
{"type", "string"},
|
||||
|
||||
@@ -12,7 +12,7 @@ Tool make_file_list_tool() {
|
||||
{"properties", {
|
||||
{"path", {
|
||||
{"type", "string"},
|
||||
{"description", "The absolute path to the directory to list."}
|
||||
{"description", "The path to the directory to list (relative or absolute)."}
|
||||
}},
|
||||
{"recursive", {
|
||||
{"type", "boolean"},
|
||||
|
||||
@@ -14,7 +14,7 @@ Tool make_file_read_tool() {
|
||||
{"properties", {
|
||||
{"path", {
|
||||
{"type", "string"},
|
||||
{"description", "The absolute path to the file to read."}
|
||||
{"description", "The path to the file to read (relative or absolute)."}
|
||||
}}
|
||||
}},
|
||||
{"required", {"path"}}
|
||||
|
||||
Reference in New Issue
Block a user