diff --git a/src/filesystem/index.ts b/src/filesystem/index.ts index 98ce2354..7481e263 100644 --- a/src/filesystem/index.ts +++ b/src/filesystem/index.ts @@ -280,7 +280,11 @@ server.setRequestHandler(ListToolsRequestSchema, async () => { { name: "search_files", description: - "Recursively search for files and directories matching glob patterns. " + + "Recursively search for files and directories by name matching a glob pattern. " + + "Supports glob-style patterns that match paths relative to the working directory. " + + "Use patterns like '*.ext' to match files in current directory, and '**/*.ext' to match files in all subdirectories. " + + "Returns full paths to all matching items. Great for finding files when you don't know their exact location. " + + "Only searches within allowed directories. "The patterns should be glob-style patterns that match paths relative to the search path. " + "Use patterns like ['*.ext'] to match files in current directory, and ['**/*.ext'] to match files in all subdirectories. " + "Multiple patterns can be provided to match different file types, e.g., ['**/*.js', '**/*.ts']. " +