UNPKG

msexchange-mcp

Version:

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

61 lines 1.91 kB
import { z } from 'zod'; export declare const queryEmailsTool: { name: string; description: string; parameters: z.ZodObject<{ user_id: z.ZodString; search: z.ZodOptional<z.ZodString>; filter: z.ZodOptional<z.ZodString>; from: z.ZodOptional<z.ZodString>; to: z.ZodOptional<z.ZodString>; subject: z.ZodOptional<z.ZodString>; folder: z.ZodOptional<z.ZodString>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; skip: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; order_by: z.ZodDefault<z.ZodOptional<z.ZodString>>; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { user_id: string; limit: number; skip: number; order_by: string; include_body: boolean; filter?: string | undefined; search?: string | undefined; subject?: string | undefined; from?: string | undefined; to?: string | undefined; folder?: string | undefined; }, { user_id: string; filter?: string | undefined; search?: string | undefined; subject?: string | undefined; from?: string | undefined; to?: string | undefined; folder?: string | undefined; limit?: number | undefined; skip?: number | undefined; order_by?: string | undefined; include_body?: boolean | undefined; }>; execute: (params: { user_id: string; search?: string; filter?: string; from?: string; to?: string; subject?: string; folder?: string; limit?: number; skip?: number; order_by?: string; include_body?: boolean; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; //# sourceMappingURL=queryEmails.d.ts.map