UNPKG

msexchange-mcp

Version:

MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API

77 lines 2.31 kB
import { z } from 'zod'; export declare const sendEmailTool: { name: string; description: string; parameters: z.ZodObject<{ user_id: z.ZodString; to: z.ZodArray<z.ZodString, "many">; cc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; bcc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; subject: z.ZodString; body: z.ZodString; body_type: z.ZodDefault<z.ZodEnum<["Text", "HTML"]>>; save_to_sent: z.ZodDefault<z.ZodBoolean>; attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; content: z.ZodString; contentType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; content: string; contentType?: string | undefined; }, { name: string; content: string; contentType?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { user_id: string; subject: string; body: string; to: string[]; body_type: "Text" | "HTML"; save_to_sent: boolean; attachments?: { name: string; content: string; contentType?: string | undefined; }[] | undefined; cc?: string[] | undefined; bcc?: string[] | undefined; }, { user_id: string; subject: string; body: string; to: string[]; attachments?: { name: string; content: string; contentType?: string | undefined; }[] | undefined; cc?: string[] | undefined; bcc?: string[] | undefined; body_type?: "Text" | "HTML" | undefined; save_to_sent?: boolean | undefined; }>; execute: (params: { user_id: string; to: string[]; cc?: string[]; bcc?: string[]; subject: string; body: string; body_type?: "Text" | "HTML"; save_to_sent?: boolean; attachments?: Array<{ name: string; content: string; contentType?: string; }>; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; //# sourceMappingURL=sendEmail.d.ts.map