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

Method execute

packages/core/src/test-utils/tools.ts:34–42  ·  view source on GitHub ↗
(_abortSignal: AbortSignal)

Source from the content-addressed store, hash-verified

32 }
33
34 async execute(_abortSignal: AbortSignal): Promise<ToolResult> {
35 const result = this.tool.executeFn(this.params);
36 return (
37 result ?? {
38 llmContent: `Tool ${this.tool.name} executed successfully.`,
39 returnDisplay: `Tool ${this.tool.name} executed successfully.`,
40 }
41 );
42 }
43
44 override async shouldConfirmExecute(
45 _abortSignal: AbortSignal,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected