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

Function getToolUseSummary

src/tools/FileWriteTool/UI.tsx:156–164  ·  view source on GitHub ↗
(input: Partial<{
  file_path: string;
  content: string;
}> | undefined)

Source from the content-addressed store, hash-verified

154 return pos < content.length;
155}
156export function getToolUseSummary(input: Partial<{
157 file_path: string;
158 content: string;
159}> | undefined): string | null {
160 if (!input?.file_path) {
161 return null;
162 }
163 return getDisplayPath(input.file_path);
164}
165export function renderToolUseMessage(input: Partial<{
166 file_path: string;
167 content: string;

Callers 1

getActivityDescriptionFunction · 0.70

Calls 1

getDisplayPathFunction · 0.85

Tested by

no test coverage detected