Issue 101: Update file operation tool descriptions to indicate paths can be relative or absolute

This commit is contained in:
2026-05-29 16:25:22 -05:00
parent 4c3d24f2c2
commit c46ebb665b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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"},
+1 -1
View File
@@ -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"},
+1 -1
View File
@@ -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"}}