Implementation of web search as a tool (#307)

This commit is contained in:
Allen Hutchison
2025-05-20 11:36:21 -07:00
committed by GitHub
parent d1210f2e0a
commit 93e89215e3
3 changed files with 212 additions and 3 deletions
+4 -1
View File
@@ -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.