MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / approve

Method approve

apps/cli/src/agent/extension-client.ts:349–351  ·  view source on GitHub ↗

* Approve the current action (tool, command, browser, MCP). * * Use when the agent is waiting for approval (interactive asks).

()

Source from the content-addressed store, hash-verified

347 * Use when the agent is waiting for approval (interactive asks).
348 */
349 approve(): void {
350 this.sendResponse("yesButtonClicked")
351 }
352
353 /**
354 * Reject the current action.

Callers 3

resumeTaskMethod · 0.95
retryApiRequestMethod · 0.95

Calls 1

sendResponseMethod · 0.95

Tested by

no test coverage detected