UNPKG

msexchange-mcp

Version:

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

57 lines 1.8 kB
import { z } from 'zod'; declare const inputSchema: z.ZodObject<{ user_id: z.ZodString; query: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; date_start: z.ZodOptional<z.ZodString>; date_end: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { user_id: string; query: string; limit: number; include_body: boolean; date_start?: string | undefined; date_end?: string | undefined; }, { user_id: string; query: string; limit?: number | undefined; include_body?: boolean | undefined; date_start?: string | undefined; date_end?: string | undefined; }>; export declare const simpleEmailSearchTool: { name: string; description: string; parameters: z.ZodObject<{ user_id: z.ZodString; query: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; date_start: z.ZodOptional<z.ZodString>; date_end: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { user_id: string; query: string; limit: number; include_body: boolean; date_start?: string | undefined; date_end?: string | undefined; }, { user_id: string; query: string; limit?: number | undefined; include_body?: boolean | undefined; date_start?: string | undefined; date_end?: string | undefined; }>; execute: ({ user_id, query, limit, include_body, date_start, date_end }: z.infer<typeof inputSchema>) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; export {}; //# sourceMappingURL=simpleEmailSearch.d.ts.map