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