MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / toolNamesMatch

Function toolNamesMatch

src/utils/mcp-name.ts:188–190  ·  view source on GitHub ↗
(name1: string, name2: string)

Source from the content-addressed store, hash-verified

186 * @returns true if the names match (treating - and _ as equivalent)
187 */
188export function toolNamesMatch(name1: string, name2: string): boolean {
189 return normalizeForComparison(name1) === normalizeForComparison(name2)
190}

Callers 3

mcp-name.spec.tsFile · 0.90
validateToolExistsMethod · 0.90

Calls 1

normalizeForComparisonFunction · 0.85

Tested by

no test coverage detected