MCPcopy Index your code
hub / github.com/anus-dev/ANUS / execute

Method execute

packages/core/src/tools/tools.ts:51–51  ·  view source on GitHub ↗

* Executes the tool with the validated parameters. * @param signal AbortSignal for tool cancellation. * @param updateOutput Optional callback to stream output. * @returns Result of the tool execution.

(
    signal: AbortSignal,
    updateOutput?: (output: string) => void,
  )

Source from the content-addressed store, hash-verified

49 * @returns Result of the tool execution.
50 */
51 execute(
52 signal: AbortSignal,
53 updateOutput?: (output: string) => void,
54 ): Promise<TResult>;

Callers 14

web-search.test.tsFile · 0.65
buildAndExecuteFunction · 0.65
validateBuildAndExecuteFunction · 0.65
read-file.test.tsFile · 0.65
mcp-tool.test.tsFile · 0.65
glob.test.tsFile · 0.65
shell.test.tsFile · 0.65
edit.test.tsFile · 0.65
ls.test.tsFile · 0.65
write-file.test.tsFile · 0.65
grep.test.tsFile · 0.65

Implementers 3

TestToolInvocationpackages/core/src/tools/tools.test.ts
EditToolInvocationpackages/core/src/tools/edit.ts
WriteFileToolInvocationpackages/core/src/tools/write-file.ts

Calls

no outgoing calls

Tested by

no test coverage detected