MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getToolResultFromCell

Function getToolResultFromCell

src/utils/notebook.ts:155–159  ·  view source on GitHub ↗
(cell: NotebookCellSource)

Source from the content-addressed store, hash-verified

153}
154
155function getToolResultFromCell(cell: NotebookCellSource) {
156 const contentResult = cellContentToToolResult(cell)
157 const outputResults = cell.outputs?.flatMap(cellOutputToToolResult)
158 return [contentResult, ...(outputResults ?? [])]
159}
160
161/**
162 * Reads and parses a Jupyter notebook file into processed cell data

Callers

nothing calls this directly

Calls 1

cellContentToToolResultFunction · 0.85

Tested by

no test coverage detected