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

Function outputFileContent

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

Source from the content-addressed store, hash-verified

548};
549
550const outputFileContent = (file: ToolFileValue): ContentBlock[] => [
551 {
552 type: "text",
553 text: `File output: ${toolFileSummaryLine(file)}`,
554 },
555 ...toolFileContent(file),
556];
557
558const isFileOutputItem = (
559 item: ExecuteOutputItem,

Callers 1

outputItemContentFunction · 0.85

Calls 2

toolFileSummaryLineFunction · 0.85
toolFileContentFunction · 0.85

Tested by

no test coverage detected