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

Function toolFileSummaryLine

packages/hosts/mcp/src/tool-server.ts:361–364  ·  view source on GitHub ↗
(file: ToolFileValue, index?: number)

Source from the content-addressed store, hash-verified

359};
360
361const toolFileSummaryLine = (file: ToolFileValue, index?: number): string => {
362 const prefix = index === undefined ? "" : `${index + 1}. `;
363 return `${prefix}${toolFileName(file)} (${file.mimeType}, ${file.byteLength} bytes)`;
364};
365
366const outputFileContent = (file: ToolFileValue): ContentBlock[] => [
367 {

Callers 1

outputFileContentFunction · 0.85

Calls 1

toolFileNameFunction · 0.85

Tested by

no test coverage detected