(input: Partial<z.infer<ReturnType<typeof inputSchema>>> | undefined)
| 14 | import { getDisplayPath } from '../../utils/file.js'; |
| 15 | import type { inputSchema, Output } from './NotebookEditTool.js'; |
| 16 | export 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 | } |
| 22 | export function renderToolUseMessage({ |
| 23 | notebook_path, |
| 24 | cell_id, |
no test coverage detected