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

Method sendResponse

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

* Generic method to send any ask response. * * @param response - The response type * @param text - Optional text content * @param images - Optional images

(response: ClineAskResponse, text?: string, images?: string[])

Source from the content-addressed store, hash-verified

382 * @param images - Optional images
383 */
384 sendResponse(response: ClineAskResponse, text?: string, images?: string[]): void {
385 const message: WebviewMessage = {
386 type: "askResponse",
387 askResponse: response,
388 text,
389 images,
390 }
391 this.sendMessage(message)
392 }
393
394 // ===========================================================================
395 // Task Control Methods

Callers 3

approveMethod · 0.95
rejectMethod · 0.95
respondMethod · 0.95

Calls 1

sendMessageMethod · 0.65

Tested by

no test coverage detected