msexchange-mcp
Version:
MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API
73 lines • 2.2 kB
TypeScript
import { z } from 'zod';
export declare const createDraftTool: {
name: string;
description: string;
parameters: z.ZodObject<{
user_id: z.ZodString;
to: z.ZodOptional<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"]>>;
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;
body_type: "Text" | "HTML";
attachments?: {
name: string;
content: string;
contentType?: string | undefined;
}[] | undefined;
to?: string[] | undefined;
cc?: string[] | undefined;
bcc?: string[] | undefined;
}, {
user_id: string;
subject: string;
body: string;
attachments?: {
name: string;
content: string;
contentType?: string | undefined;
}[] | undefined;
to?: string[] | undefined;
cc?: string[] | undefined;
bcc?: string[] | undefined;
body_type?: "Text" | "HTML" | undefined;
}>;
execute: (params: {
user_id: string;
to?: string[];
cc?: string[];
bcc?: string[];
subject: string;
body: string;
body_type?: "Text" | "HTML";
attachments?: Array<{
name: string;
content: string;
contentType?: string;
}>;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
//# sourceMappingURL=createDraft.d.ts.map