MCPcopy Create free account
hub / github.com/Noumena-Network/code / getToolUseSummary

Function getToolUseSummary

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

Source from the content-addressed store, hash-verified

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

Callers 1

getActivityDescriptionFunction · 0.70

Calls 1

getDisplayPathFunction · 0.85

Tested by

no test coverage detected