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

Method constructor

packages/core/src/tools/tools.test.ts:19–22  ·  view source on GitHub ↗
(
    readonly params: object,
    private readonly executeFn: () => Promise<ToolResult>,
  )

Source from the content-addressed store, hash-verified

17
18class TestToolInvocation implements ToolInvocation<object, ToolResult> {
19 constructor(
20 readonly params: object,
21 private readonly executeFn: () => Promise<ToolResult>,
22 ) {}
23
24 getDescription(): string {
25 return 'A test invocation';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected