Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anus-dev/ANUS
/ transformTextBlock
Function
transformTextBlock
packages/core/src/tools/mcp-tool.ts:213–215 ·
view source on GitHub ↗
(block: McpTextBlock)
Source
from the content-addressed store, hash-verified
211
}
212
213
function
transformTextBlock(block: McpTextBlock): Part {
214
return
{ text: block.text };
215
}
216
217
function
transformImageAudioBlock(
218
block: McpMediaBlock,
Callers
1
transformMcpContentToParts
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected