MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / toolLabel

Function toolLabel

apps/kimi-web/src/lib/toolMeta.ts:68–71  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

66}
67
68export function toolLabel(name: string): string {
69 const key = TOOL_LABEL_KEYS[normalizeToolName(name)];
70 return key ? t(key) : name;
71}
72
73// ---------------------------------------------------------------------------
74// toolGlyph: a small inline SVG string for a tool name, rendered from the

Callers 2

subagentProgressTextFunction · 0.90
useDetailPanelFunction · 0.90

Calls 1

normalizeToolNameFunction · 0.85

Tested by

no test coverage detected