MCPcopy Create free account
hub / github.com/anus-dev/ANUS / transformResourceLinkBlock

Function transformResourceLinkBlock

packages/core/src/tools/mcp-tool.ts:261–265  ·  view source on GitHub ↗
(block: McpResourceLinkBlock)

Source from the content-addressed store, hash-verified

259}
260
261function transformResourceLinkBlock(block: McpResourceLinkBlock): Part {
262 return {
263 text: `Resource Link: ${block.title || block.name} at ${block.uri}`,
264 };
265}
266
267/**
268 * Transforms the raw MCP content blocks from the SDK response into a

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected