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

Function getToolUseSummary

src/tools/NotebookEditTool/UI.tsx:16–21  ·  view source on GitHub ↗
(input: Partial<z.infer<ReturnType<typeof inputSchema>>> | undefined)

Source from the content-addressed store, hash-verified

14import { getDisplayPath } from '../../utils/file.js';
15import type { inputSchema, Output } from './NotebookEditTool.js';
16export function getToolUseSummary(input: Partial<z.infer<ReturnType<typeof inputSchema>>> | undefined): string | null {
17 if (!input?.notebook_path) {
18 return null;
19 }
20 return getDisplayPath(input.notebook_path);
21}
22export function renderToolUseMessage({
23 notebook_path,
24 cell_id,

Callers 1

getActivityDescriptionFunction · 0.70

Calls 1

getDisplayPathFunction · 0.85

Tested by

no test coverage detected