MCPcopy Create free account
hub / github.com/codeaashu/claude-code / userFacingName

Function userFacingName

src/utils/claudeInChrome/toolRendering.tsx:232–236  ·  view source on GitHub ↗
(_input?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

230} {
231 return {
232 userFacingName(_input?: Record<string, unknown>) {
233 // Trim the _mcp postfix that show up in some of the tool names
234 const displayName = toolName.replace(/_mcp$/, '');
235 return `Claude in Chrome[${displayName}]`;
236 },
237 renderToolUseMessage(input: Record<string, unknown>, {
238 verbose
239 }: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected