@modelcontextprotocol/sdk
    Preparing search index...

    Variable ClientRequestSchemaConst

    ClientRequestSchema: ZodUnion<
        [
            ZodObject<
                extendShape<
                    {
                        method: ZodString;
                        params: ZodOptional<
                            ZodObject<
                                {
                                    _meta: ZodOptional<
                                        ZodObject<
                                            { progressToken: ... },
                                            "passthrough",
                                            ZodTypeAny,
                                            objectOutputType<(...), (...), (...)>,
                                            objectInputType<(...), (...), (...)>,
                                        >,
                                    >;
                                },
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >,
                        >;
                    },
                    { method: ZodLiteral<"ping"> },
                >,
                "strip",
                ZodTypeAny,
                {
                    method: "ping";
                    params?: objectOutputType<
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    { progressToken: ZodOptional<(...)> },
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                >,
                            >;
                        },
                        ZodTypeAny,
                        "passthrough",
                    >;
                },
                {
                    method: "ping";
                    params?: objectInputType<
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    { progressToken: ZodOptional<(...)> },
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                >,
                            >;
                        },
                        ZodTypeAny,
                        "passthrough",
                    >;
                },
            >,
            ZodObject<
                extendShape<
                    {
                        method: ZodString;
                        params: ZodOptional<
                            ZodObject<
                                {
                                    _meta: ZodOptional<
                                        ZodObject<
                                            { progressToken: ... },
                                            "passthrough",
                                            ZodTypeAny,
                                            objectOutputType<(...), (...), (...)>,
                                            objectInputType<(...), (...), (...)>,
                                        >,
                                    >;
                                },
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >,
                        >;
                    },
                    {
                        method: ZodLiteral<"initialize">;
                        params: ZodObject<
                            extendShape<
                                {
                                    _meta: ZodOptional<
                                        ZodObject<
                                            { progressToken: ... },
                                            "passthrough",
                                            ZodTypeAny,
                                            objectOutputType<(...), (...), (...)>,
                                            objectInputType<(...), (...), (...)>,
                                        >,
                                    >;
                                },
                                {
                                    capabilities: ZodObject<
                                        {
                                            elicitation: ZodIntersection<(...), (...)>;
                                            experimental: ZodOptional<(...)>;
                                            roots: ZodOptional<(...)>;
                                            sampling: ZodOptional<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            elicitation?: (...)
                                            | (...);
                                            experimental?: (...) | (...);
                                            roots?: (...) | (...);
                                            sampling?: (...) | (...);
                                        },
                                        {
                                            elicitation?: (...)
                                            | (...);
                                            experimental?: (...) | (...);
                                            roots?: (...) | (...);
                                            sampling?: (...) | (...);
                                        },
                                    >;
                                    clientInfo: ZodObject<
                                        extendShape<extendShape<(...), (...)>, { icons: ... }>,
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            icons?: (...) | (...);
                                            name: string;
                                            title?: (...) | (...);
                                            version: string;
                                            websiteUrl?: (...) | (...);
                                        },
                                        {
                                            icons?: (...)
                                            | (...);
                                            name: string;
                                            title?: (...) | (...);
                                            version: string;
                                            websiteUrl?: (...) | (...);
                                        },
                                    >;
                                    protocolVersion: ZodString;
                                },
                            >,
                            "strip",
                            ZodTypeAny,
                            {
                                _meta?: objectOutputType<
                                    { progressToken: ZodOptional<(...)> },
                                    ZodTypeAny,
                                    "passthrough",
                                >;
                                capabilities: {
                                    elicitation?: { applyDefaults?: ... } & Record<(...), (...)>;
                                    experimental?: Record<string, object>;
                                    roots?: { listChanged?: (...) | (...) | (...) };
                                    sampling?: object;
                                };
                                clientInfo: {
                                    icons?: { mimeType?: ...; sizes?: ...; src: ... }[];
                                    name: string;
                                    title?: string;
                                    version: string;
                                    websiteUrl?: string;
                                };
                                protocolVersion: string;
                            },
                            {
                                _meta?: objectInputType<
                                    { progressToken: ZodOptional<(...)> },
                                    ZodTypeAny,
                                    "passthrough",
                                >;
                                capabilities: {
                                    elicitation?: { applyDefaults?: ... } & Record<(...), (...)>;
                                    experimental?: Record<string, object>;
                                    roots?: { listChanged?: (...) | (...) | (...) };
                                    sampling?: object;
                                };
                                clientInfo: {
                                    icons?: { mimeType?: ...; sizes?: ...; src: ... }[];
                                    name: string;
                                    title?: string;
                                    version: string;
                                    websiteUrl?: string;
                                };
                                protocolVersion: string;
                            },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    method: "initialize";
                    params: {
                        _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;
                    };
                },
                {
                    method: "initialize";
                    params: {
                        _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;
                    };
                },
            >,
            ZodObject<
                extendShape<
                    {
                        method: ZodString;
                        params: ZodOptional<
                            ZodObject<
                                {
                                    _meta: ZodOptional<
                                        ZodObject<
                                            { progressToken: ... },
                                            "passthrough",
                                            ZodTypeAny,
                                            objectOutputType<(...), (...), (...)>,
                                            objectInputType<(...), (...), (...)>,
                                        >,
                                    >;
                                },
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >,
                        >;
                    },
                    {
                        method: ZodLiteral<"completion/complete">;
                        params: ZodObject<
                            extendShape<
                                {
                                    _meta: ZodOptional<
                                        ZodObject<
                                            { progressToken: ... },
                                            "passthrough",
                                            ZodTypeAny,
                                            objectOutputType<(...), (...), (...)>,
                                            objectInputType<(...), (...), (...)>,
                                        >,
                                    >;
                                },
                                {
                                    argument: ZodObject<
                                        { name: ZodString; value: ZodString },
                                        "strip",
                                        ZodTypeAny,
                                        { name: string; value: string },
                                        { name: string; value: string },
                                    >;
                                    context: ZodOptional<
                                        ZodObject<
                                            { arguments: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { arguments?: ... },
                                            { arguments?: ... },
                                        >,
                                    >;
                                    ref: ZodUnion<
                                        [
                                            ZodObject<(...), (...), (...), (...), (...)>,
                                            ZodObject<(...), (...), (...), (...), (...)>,
                                        ],
                                    >;
                                },
                            >,
                            "strip",
                            ZodTypeAny,
                            {
                                _meta?: objectOutputType<
                                    { progressToken: ZodOptional<(...)> },
                                    ZodTypeAny,
                                    "passthrough",
                                >;
                                argument: { name: string; value: string };
                                context?: { arguments?: Record<(...), (...)> };
                                ref:
                                    | { type: "ref/resource"; uri: string }
                                    | { name: string; type: "ref/prompt" };
                            },
                            {
                                _meta?: objectInputType<
                                    { progressToken: ZodOptional<(...)> },
                                    ZodTypeAny,
                                    "passthrough",
                                >;
                                argument: { name: string; value: string };
                                context?: { arguments?: Record<(...), (...)> };
                                ref:
                                    | { type: "ref/resource"; uri: string }
                                    | { name: string; type: "ref/prompt" };
                            },
                        >;
                    },
                >,
                "strip",
                ZodTypeAny,
                {
                    method: "completion/complete";
                    params: {
                        _meta?: objectOutputType<
                            { progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
                            ZodTypeAny,
                            "passthrough",
                        >;
                        argument: { name: string; value: string };
                        context?: { arguments?: Record<string, string> };
                        ref:
                            | { type: "ref/resource"; uri: string }
                            | { name: string; type: "ref/prompt" };
                    };
                },
                {
                    method: "completion/complete";
                    params: {
                        _meta?: objectInputType<
                            { progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
                            ZodTypeAny,
                            "passthrough",
                        >;
                        argument: { name: string; value: string };
                        context?: { arguments?: Record<string, string> };
                        ref:
                            | { type: "ref/resource"; uri: string }
                            | { name: string; type: "ref/prompt" };
                    };
                },
            >,
        ],
    > = ...