MCPcopy Index your code
hub / github.com/simstudioai/sim / humanizeToolName

Function humanizeToolName

apps/sim/lib/copilot/tools/tool-display.ts:108–112  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

106 * Folder"), matching the legacy client humanizer so labels never render blank.
107 */
108export function humanizeToolName(name: string): string {
109 const words = stripVersionSuffix(name).split('_').filter(Boolean)
110 if (words.length === 0) return name
111 return words.map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(' ')
112}
113
114/**
115 * Resolve a tool-call display title from its name and arguments. Argument-aware

Callers 2

resolveAgentLabelFunction · 0.90
getToolDisplayTitleFunction · 0.85

Calls 2

stripVersionSuffixFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected