1
1
import { BaseToolSchema , generateFunctionCallSchema , generateAnthropicToolSchema } from "./base-tool-schema"
2
+ import { accessMcpResourceSchema } from "./access-mcp-resource-schema"
2
3
import { applyDiffSchema } from "./apply-diff-schema"
4
+ import { codebaseSearchSchema } from "./codebase-search-schema"
5
+ import { executeCommandSchema } from "./execute-command-schema"
3
6
import { insertContentSchema } from "./insert-content-schema"
4
7
import { listCodeDefinitionNamesSchema } from "./list-code-definition-names-schema"
5
8
import { listFilesSchema } from "./list-files-schema"
6
9
import { readFileSchema } from "./read-file-schema"
7
10
import { searchAndReplaceSchema } from "./search-and-replace-schema"
8
11
import { searchFilesSchema } from "./search-files-schema"
12
+ import { switchModeSchema } from "./switch-mode-schema"
9
13
import { writeToFileSchema } from "./write-to-file-schema"
10
14
import { ToolArgs } from "../../prompts/tools/types"
11
15
@@ -18,13 +22,17 @@ export class ToolRegistry {
18
22
19
23
private constructor ( ) {
20
24
// Register supported tools
25
+ this . registerTool ( accessMcpResourceSchema )
21
26
this . registerTool ( applyDiffSchema )
27
+ this . registerTool ( codebaseSearchSchema )
28
+ this . registerTool ( executeCommandSchema )
22
29
this . registerTool ( insertContentSchema )
23
30
this . registerTool ( listCodeDefinitionNamesSchema )
24
31
this . registerTool ( listFilesSchema )
25
32
this . registerTool ( readFileSchema )
26
33
this . registerTool ( searchAndReplaceSchema )
27
34
this . registerTool ( searchFilesSchema )
35
+ this . registerTool ( switchModeSchema )
28
36
this . registerTool ( writeToFileSchema )
29
37
}
30
38
0 commit comments