@modelcontextprotocol/sdk
    Preparing search index...

    Variable InitializeRequestSchemaConst

    InitializeRequestSchema: ZodObject<
        extendShape<
            {
                method: ZodString;
                params: ZodOptional<
                    ZodObject<
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    { progressToken: ZodOptional<ZodUnion<(...)>> },
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                            >;
                        },
                        "passthrough",
                        ZodTypeAny,
                        objectOutputType<
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        { progressToken: ZodOptional<(...)> },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                        objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                            },
                            ZodTypeAny,
                            "passthrough",
                        >,
                        objectInputType<
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        { progressToken: ZodOptional<(...)> },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                        objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                            },
                            ZodTypeAny,
                            "passthrough",
                        >,
                    >,
                >;
            },
            {
                method: ZodLiteral<"initialize">;
                params: ZodObject<
                    extendShape<
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    { progressToken: ZodOptional<ZodUnion<(...)>> },
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                            >;
                        },
                        {
                            capabilities: ZodObject<
                                {
                                    elicitation: ZodIntersection<
                                        ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>,
                                        ZodOptional<ZodRecord<(...), (...)>>,
                                    >;
                                    experimental: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    roots: ZodOptional<
                                        ZodObject<
                                            { listChanged: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ... },
                                            { listChanged?: ... },
                                        >,
                                    >;
                                    sampling: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    elicitation?: { applyDefaults?: ... } & Record<(...), (...)>;
                                    experimental?: Record<string, object>;
                                    roots?: { listChanged?: (...) | (...) | (...) };
                                    sampling?: object;
                                },
                                {
                                    elicitation?: { applyDefaults?: ... } & Record<(...), (...)>;
                                    experimental?: Record<string, object>;
                                    roots?: { listChanged?: (...) | (...) | (...) };
                                    sampling?: object;
                                },
                            >;
                            clientInfo: ZodObject<
                                extendShape<
                                    extendShape<
                                        { name: ZodString; title: ZodOptional<(...)> },
                                        { version: ZodString; websiteUrl: ZodOptional<(...)> },
                                    >,
                                    { icons: ZodOptional<ZodArray<(...), (...)>> },
                                >,
                                "strip",
                                ZodTypeAny,
                                {
                                    icons?: { mimeType?: ...; sizes?: ...; src: ... }[];
                                    name: string;
                                    title?: string;
                                    version: string;
                                    websiteUrl?: string;
                                },
                                {
                                    icons?: { mimeType?: ...; sizes?: ...; src: ... }[];
                                    name: string;
                                    title?: string;
                                    version: string;
                                    websiteUrl?: string;
                                },
                            >;
                            protocolVersion: ZodString;
                        },
                    >,
                    "strip",
                    ZodTypeAny,
                    {
                        _meta?: objectOutputType<
                            { progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
                            ZodTypeAny,
                            "passthrough",
                        >;
                        capabilities: {
                            elicitation?: { applyDefaults?: boolean } & Record<string, unknown>;
                            experimental?: Record<string, object>;
                            roots?: { listChanged?: boolean };
                            sampling?: object;
                        };
                        clientInfo: {
                            icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
                            name: string;
                            title?: string;
                            version: string;
                            websiteUrl?: string;
                        };
                        protocolVersion: string;
                    },
                    {
                        _meta?: objectInputType<
                            { progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
                            ZodTypeAny,
                            "passthrough",
                        >;
                        capabilities: {
                            elicitation?: { applyDefaults?: boolean } & Record<string, unknown>;
                            experimental?: Record<string, object>;
                            roots?: { listChanged?: boolean };
                            sampling?: object;
                        };
                        clientInfo: {
                            icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
                            name: string;
                            title?: string;
                            version: string;
                            websiteUrl?: string;
                        };
                        protocolVersion: string;
                    },
                >;
            },
        >,
        "strip",
        ZodTypeAny,
        {
            method: "initialize";
            params: {
                _meta?: objectOutputType<
                    { progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
                    ZodTypeAny,
                    "passthrough",
                >;
                capabilities: {
                    elicitation?: { applyDefaults?: boolean } & Record<string, unknown>;
                    experimental?: Record<string, object>;
                    roots?: { listChanged?: boolean };
                    sampling?: object;
                };
                clientInfo: {
                    icons?: { mimeType?: string; sizes?: string[]; src: string }[];
                    name: string;
                    title?: string;
                    version: string;
                    websiteUrl?: string;
                };
                protocolVersion: string;
            };
        },
        {
            method: "initialize";
            params: {
                _meta?: objectInputType<
                    { progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
                    ZodTypeAny,
                    "passthrough",
                >;
                capabilities: {
                    elicitation?: { applyDefaults?: boolean } & Record<string, unknown>;
                    experimental?: Record<string, object>;
                    roots?: { listChanged?: boolean };
                    sampling?: object;
                };
                clientInfo: {
                    icons?: { mimeType?: string; sizes?: string[]; src: string }[];
                    name: string;
                    title?: string;
                    version: string;
                    websiteUrl?: string;
                };
                protocolVersion: string;
            };
        },
    > = ...

    This request is sent from the client to the server when it first connects, asking it to begin initialization.