MCPcopy Create free account
hub / github.com/anus-dev/ANUS / removeDiscoveredTools

Method removeDiscoveredTools

packages/core/src/tools/tool-registry.ts:190–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188 }
189
190 private removeDiscoveredTools(): void {
191 for (const tool of this.tools.values()) {
192 if (tool instanceof DiscoveredTool || tool instanceof DiscoveredMCPTool) {
193 this.tools.delete(tool.name);
194 }
195 }
196 }
197
198 /**
199 * Removes all tools from a specific MCP server.

Callers 2

discoverAllToolsMethod · 0.95
discoverMcpToolsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected