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 00a30ac commit ffd9cb7Copy full SHA for ffd9cb7
src/filesystem/index.ts
@@ -163,16 +163,17 @@ const server = new Server(
163
},
164
{
165
capabilities: {
166
- tools: {
167
- search_files: {
+ tools: [
+ {
168
+ name: "search_files",
169
description: "Recursively search for files/directories with optional exclude patterns",
170
inputSchema: zodToJsonSchema(SearchFilesArgsSchema),
171
handler: async (args: z.infer<typeof SearchFilesArgsSchema>) => {
172
const validatedPath = await validatePath(args.path);
173
return searchFiles(validatedPath, args.pattern, args.excludePatterns);
174
175
- },
176
+ ],
177
178
179
);
0 commit comments