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

Method createInvocation

packages/core/src/tools/mcp-tool.ts:198–210  ·  view source on GitHub ↗
(
    params: ToolParams,
  )

Source from the content-addressed store, hash-verified

196 }
197
198 protected createInvocation(
199 params: ToolParams,
200 ): ToolInvocation<ToolParams, ToolResult> {
201 return new DiscoveredMCPToolInvocation(
202 this.mcpTool,
203 this.serverName,
204 this.serverToolName,
205 this.displayName,
206 this.timeout,
207 this.trust,
208 params,
209 );
210 }
211}
212
213function transformTextBlock(block: McpTextBlock): Part {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected