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

Function isMcpContentBlock

packages/hosts/mcp/src/tool-server.ts:656–657  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

654 isRecord(item) && item.type === "file" && isToolFile(item.file);
655
656const isMcpContentBlock = (value: unknown): value is ContentBlock =>
657 ContentBlockSchema.safeParse(value).success;
658
659const isContentOutputItem = (
660 item: ExecuteOutputItem,

Callers 1

isContentOutputItemFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected