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

Function normalizeUserFacingName

src/tools/toolInventory.ts:67–70  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

65}
66
67function normalizeUserFacingName(value: string): string | null {
68 const trimmed = value.trim()
69 return trimmed.length > 0 ? trimmed : null
70}
71
72function resolveUserFacingName(tool: Tool | undefined): string | null {
73 if (!tool) return null

Callers 1

resolveUserFacingNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected