MCPcopy Index your code
hub / github.com/deepnote/deepnote / handleConversionTool

Function handleConversionTool

packages/mcp/src/tools/conversion.ts:308–322  ·  view source on GitHub ↗
(name: string, args: Record<string, unknown> | undefined)

Source from the content-addressed store, hash-verified

306}
307
308export async function handleConversionTool(name: string, args: Record<string, unknown> | undefined) {
309 const safeArgs = args || {}
310
311 switch (name) {
312 case 'deepnote_convert_to':
313 return handleConvertTo(safeArgs)
314 case 'deepnote_convert_from':
315 return handleConvertFrom(safeArgs)
316 default:
317 return {
318 content: [{ type: 'text', text: `Unknown conversion tool: ${name}` }],
319 isError: true,
320 }
321 }
322}

Callers 2

createServerFunction · 0.90
conversion.test.tsFile · 0.90

Calls 2

handleConvertToFunction · 0.85
handleConvertFromFunction · 0.85

Tested by

no test coverage detected