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