KingNish commited on
Commit
2abb1d8
·
verified ·
1 Parent(s): 39974e1

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -215,7 +215,7 @@ class FileSearcher(Tool):
215
  "file_pattern": {"type": "string", "description": "File pattern to search in (e.g., '*.txt' for all .txt files)", "default": "*"},
216
  "case_sensitive": {"type": "boolean", "description": "Whether the search should be case sensitive", "default": False}
217
  }
218
- output_type = "list"
219
 
220
  def __init__(self, space_id, folder_path, **kwargs):
221
  super().__init__()
 
215
  "file_pattern": {"type": "string", "description": "File pattern to search in (e.g., '*.txt' for all .txt files)", "default": "*"},
216
  "case_sensitive": {"type": "boolean", "description": "Whether the search should be case sensitive", "default": False}
217
  }
218
+ output_type = "array"
219
 
220
  def __init__(self, space_id, folder_path, **kwargs):
221
  super().__init__()