(name: string, args: Record<string, unknown> | undefined)
| 477 | } |
| 478 | |
| 479 | export async function handleExecutionTool(name: string, args: Record<string, unknown> | undefined) { |
| 480 | const safeArgs = args || {} |
| 481 | |
| 482 | switch (name) { |
| 483 | case 'deepnote_run': |
| 484 | return handleRun(safeArgs) |
| 485 | default: |
| 486 | return { |
| 487 | content: [{ type: 'text', text: `Unknown execution tool: ${name}` }], |
| 488 | isError: true, |
| 489 | } |
| 490 | } |
| 491 | } |
no test coverage detected