We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a364e commit db91e18Copy full SHA for db91e18
src/filesystem/index.ts
@@ -163,7 +163,16 @@ const server = new Server(
163
},
164
{
165
capabilities: {
166
- tools: {},
+ tools: {
167
+ search_files: {
168
+ description: "Recursively search for files/directories with optional exclude patterns",
169
+ inputSchema: zodToJsonSchema(SearchFilesArgsSchema),
170
+ handler: async ({ path: searchPath, pattern, excludePatterns }) => {
171
+ const validatedPath = await validatePath(searchPath);
172
+ return searchFiles(validatedPath, pattern, excludePatterns);
173
+ },
174
175
176
177
178
);
0 commit comments