Skip to content

Commit 22a7957

Browse files
fix: properly register search_files tool with schema in server setup
1 parent 9049f03 commit 22a7957

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/filesystem/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,12 @@ const server = new Server(
164164
{
165165
capabilities: {
166166
listChanged: false,
167-
tools: {},
167+
tools: {
168+
search_files: {
169+
description: "Recursively search for files/directories with optional exclude patterns",
170+
inputSchema: zodToJsonSchema(SearchFilesArgsSchema),
171+
},
172+
},
168173
},
169174
},
170175
);

0 commit comments

Comments
 (0)