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

Function outputFileContent

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

Source from the content-addressed store, hash-verified

403};
404
405const outputFileContent = (file: ToolFileValue): ContentBlock[] => [
406 {
407 type: "text",
408 text: `File output: ${toolFileSummaryLine(file)}`,
409 },
410 ...toolFileContent(file),
411];
412
413const isFileOutputItem = (
414 item: ExecuteOutputItem,

Callers 1

outputItemContentFunction · 0.85

Calls 2

toolFileSummaryLineFunction · 0.85
toolFileContentFunction · 0.85

Tested by

no test coverage detected