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

Method execute

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

Source from the content-addressed store, hash-verified

102 }
103
104 async execute(_abortSignal: AbortSignal): Promise<ToolResult> {
105 const result = this.tool.executeFn(this.params);
106 return (
107 result ?? {
108 llmContent: `Tool ${this.tool.name} executed successfully.`,
109 returnDisplay: `Tool ${this.tool.name} executed successfully.`,
110 }
111 );
112 }
113
114 override async shouldConfirmExecute(
115 _abortSignal: AbortSignal,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected