MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / approveMessage

Method approveMessage

mcp/src/client.ts:323–339  ·  view source on GitHub ↗
(
    messageId: string,
    overrides: {
      subject?: string;
      body?: string;
      htmlBody?: string;
      to?: Array<string>;
      cc?: Array<string>;
      bcc?: Array<string>;
      attachments?: Array<Attachment>;
    },
    opts?: SendOpts,
  )

Source from the content-addressed store, hash-verified

321 }
322
323 async approveMessage(
324 messageId: string,
325 overrides: {
326 subject?: string;
327 body?: string;
328 htmlBody?: string;
329 to?: Array<string>;
330 cc?: Array<string>;
331 bcc?: Array<string>;
332 attachments?: Array<Attachment>;
333 },
334 opts?: SendOpts,
335 ): Promise<SendResultView> {
336 return opts
337 ? this.sdk.reviews.approve(messageId, overrides, opts)
338 : this.sdk.reviews.approve(messageId, overrides);
339 }
340
341 async rejectMessage(messageId: string, reason?: string): Promise<RejectResultView> {
342 return this.sdk.reviews.reject(

Callers 2

registerReviewToolsFunction · 0.45
client.test.tsFile · 0.45

Calls 1

approveMethod · 0.45

Tested by

no test coverage detected