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

Method constructor

packages/core/src/test-utils/tools.ts:27–32  ·  view source on GitHub ↗
(
    private readonly tool: MockTool,
    params: { [key: string]: unknown },
  )

Source from the content-addressed store, hash-verified

25 ToolResult
26> {
27 constructor(
28 private readonly tool: MockTool,
29 params: { [key: string]: unknown },
30 ) {
31 super(params);
32 }
33
34 async execute(_abortSignal: AbortSignal): Promise<ToolResult> {
35 const result = this.tool.executeFn(this.params);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected