MCPcopy Create free account
hub / github.com/Noumena-Network/code / deriveDefaultToolName

Function deriveDefaultToolName

src/tools/toolImplementationInventory.ts:210–212  ·  view source on GitHub ↗
(sourceFamily: string)

Source from the content-addressed store, hash-verified

208let cachedInventory: ToolImplementationEntry[] | null = null
209
210function deriveDefaultToolName(sourceFamily: string): string {
211 return sourceFamily.replace(/Tool$/, '')
212}
213
214function getSourceFamilies(): Array<{ sourceFamily: string; sourcePath: string }> {
215 const families = readdirSync(SRC_TOOLS_ROOT)

Callers 1

getSeedsForFamilyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected