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

Function handleExecutionTool

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

Source from the content-addressed store, hash-verified

477}
478
479export 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}

Callers 2

createServerFunction · 0.90
execution.test.tsFile · 0.90

Calls 1

handleRunFunction · 0.85

Tested by

no test coverage detected