msexchange-mcp
Version:
MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API
45 lines • 1.57 kB
TypeScript
import { z } from 'zod';
export declare const getEmailContentTool: {
name: string;
description: string;
parameters: z.ZodObject<{
user_id: z.ZodString;
message_id: z.ZodString;
include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
body_format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["text", "html", "best"]>>>;
include_attachments: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
include_headers: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
max_body_length: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
user_id: string;
include_body: boolean;
include_attachments: boolean;
message_id: string;
body_format: "text" | "html" | "best";
include_headers: boolean;
max_body_length?: number | undefined;
}, {
user_id: string;
message_id: string;
include_body?: boolean | undefined;
include_attachments?: boolean | undefined;
body_format?: "text" | "html" | "best" | undefined;
include_headers?: boolean | undefined;
max_body_length?: number | undefined;
}>;
execute: (params: {
user_id: string;
message_id: string;
include_body?: boolean;
body_format?: "text" | "html" | "best";
include_attachments?: boolean;
include_headers?: boolean;
max_body_length?: number;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
//# sourceMappingURL=getEmailContent.d.ts.map