mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-19 16:43:24 +02:00
Update src/filesystem/index.ts
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
This commit is contained in:
@@ -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']. " +
|
||||
|
||||
Reference in New Issue
Block a user