From fdc7e6c2941993d429eb1a9810fb0fddd4ed9244 Mon Sep 17 00:00:00 2001 From: Ola Hungerford Date: Mon, 22 Sep 2025 20:51:35 -0700 Subject: [PATCH] Update src/filesystem/index.ts Co-authored-by: Sebastien Rosset --- src/filesystem/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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']. " +