MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getToolUseSummary

Function getToolUseSummary

src/tools/FileEditTool/UI.tsx:46–56  ·  view source on GitHub ↗
(input: Partial<{
  file_path: string;
  old_string: string;
  new_string: string;
  replace_all: boolean;
}> | undefined)

Source from the content-addressed store, hash-verified

44 return 'Update';
45}
46export function getToolUseSummary(input: Partial<{
47 file_path: string;
48 old_string: string;
49 new_string: string;
50 replace_all: boolean;
51}> | undefined): string | null {
52 if (!input?.file_path) {
53 return null;
54 }
55 return getDisplayPath(input.file_path);
56}
57export function renderToolUseMessage({
58 file_path
59}: {

Callers 1

getActivityDescriptionFunction · 0.70

Calls 1

getDisplayPathFunction · 0.85

Tested by

no test coverage detected