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

Method shouldConfirmExecute

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

* Determines if the tool should prompt for confirmation before execution. * @returns Confirmation details or false if no confirmation is needed.

(
    abortSignal: AbortSignal,
  )

Source from the content-addressed store, hash-verified

39 * @returns Confirmation details or false if no confirmation is needed.
40 */
41 shouldConfirmExecute(
42 abortSignal: AbortSignal,
43 ): Promise<ToolCallConfirmationDetails | false>;
44

Callers 6

mcp-tool.test.tsFile · 0.65
web-fetch.test.tsFile · 0.65
shell.test.tsFile · 0.65
edit.test.tsFile · 0.65
write-file.test.tsFile · 0.65
memoryTool.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