refactor: rename search tool for clarity and consistency

- Updated the tool name from "search" to "search_files" across multiple files to better reflect its functionality.
- Adjusted related documentation and descriptions to ensure clarity in usage and expected behavior.
- Enhanced the toolset definitions and mappings to incorporate the new naming convention, improving overall consistency in the codebase.
This commit is contained in:
teknium1 2026-02-20 02:43:57 -08:00
parent ba8b80a163
commit f9eb5edb96
6 changed files with 31 additions and 29 deletions

View file

@ -332,7 +332,7 @@ class ToolContext:
Dict with search results
"""
result = handle_function_call(
"search", {"query": query, "path": path}, task_id=self.task_id
"search_files", {"pattern": query, "path": path}, task_id=self.task_id
)
try:
return json.loads(result)