summaryrefslogtreecommitdiff
path: root/packages/server/src/tools/tool-registry.ts
diff options
context:
space:
mode:
authorAllen Hutchison <[email protected]>2025-05-20 11:36:21 -0700
committerGitHub <[email protected]>2025-05-20 11:36:21 -0700
commit93e89215e3fe8e3fc9cd1a0ced4cc0e44ccecc4e (patch)
treeed5d3893a90efe045506c9678395fcca831c57b4 /packages/server/src/tools/tool-registry.ts
parentd1210f2e0aca59083de2be8ee4ec6229622d3a1e (diff)
Implementation of web search as a tool (#307)
Diffstat (limited to 'packages/server/src/tools/tool-registry.ts')
-rw-r--r--packages/server/src/tools/tool-registry.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/server/src/tools/tool-registry.ts b/packages/server/src/tools/tool-registry.ts
index a544c8c1..ca59d666 100644
--- a/packages/server/src/tools/tool-registry.ts
+++ b/packages/server/src/tools/tool-registry.ts
@@ -133,8 +133,11 @@ Returns the MCP server response as a json string.
export class ToolRegistry {
private tools: Map<string, Tool> = new Map();
+ private config: Config;
- constructor(private readonly config: Config) {}
+ constructor(config: Config) {
+ this.config = config;
+ }
/**
* Registers a tool definition.