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

Function extractResult

packages/mcp/src/tools/execution.test.ts:9–11  ·  view source on GitHub ↗
(response: { content: Array<{ type: string; text: string }> })

Source from the content-addressed store, hash-verified

7import { handleWritingTool } from './writing'
8
9function extractResult(response: { content: Array<{ type: string; text: string }> }): Record<string, unknown> {
10 return JSON.parse(response.content[0].text)
11}
12
13describe('execution tools handlers', () => {
14 let tempDir: string

Callers 1

execution.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected