MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / outputFileContent

Function outputFileContent

packages/hosts/mcp/src/tool-server.ts:366–372  ·  view source on GitHub ↗
(file: ToolFileValue)

Source from the content-addressed store, hash-verified

364};
365
366const outputFileContent = (file: ToolFileValue): ContentBlock[] => [
367 {
368 type: "text",
369 text: `File output: ${toolFileSummaryLine(file)}`,
370 },
371 ...toolFileContent(file),
372];
373
374const isFileOutputItem = (
375 item: ExecuteOutputItem,

Callers 1

outputItemContentFunction · 0.85

Calls 2

toolFileSummaryLineFunction · 0.85
toolFileContentFunction · 0.85

Tested by

no test coverage detected