@modelcontextprotocol/sdk
    Preparing search index...

    Variable ServerResultSchemaConst

    ServerResultSchema: ZodUnion<
        [
            ZodObject<
                { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                "strict",
                ZodTypeAny,
                { _meta?: Record<string, unknown> },
                { _meta?: Record<string, unknown> },
            >,
            ZodObject<
                extendShape<
                    { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                    {
                        capabilities: ZodObject<
                            {
                                completions: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                experimental: ZodOptional<
                                    ZodRecord<ZodString, ZodType<object, ZodTypeDef, object>>,
                                >;
                                logging: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                prompts: ZodOptional<
                                    ZodObject<
                                        { listChanged: ZodOptional<(...)> },
                                        "strip",
                                        ZodTypeAny,
                                        { listChanged?: (...) | (...) | (...) },
                                        { listChanged?: (...) | (...) | (...) },
                                    >,
                                >;
                                resources: ZodOptional<
                                    ZodObject<
                                        {
                                            listChanged: ZodOptional<(...)>;
                                            subscribe: ZodOptional<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            listChanged?: (...)
                                            | (...)
                                            | (...);
                                            subscribe?: (...) | (...) | (...);
                                        },
                                        {
                                            listChanged?: (...)
                                            | (...)
                                            | (...);
                                            subscribe?: (...) | (...) | (...);
                                        },
                                    >,
                                >;
                                tools: ZodOptional<
                                    ZodObject<
                                        { listChanged: ZodOptional<(...)> },
                                        "strip",
                                        ZodTypeAny,
                                        { listChanged?: (...) | (...) | (...) },
                                        { listChanged?: (...) | (...) | (...) },
                                    >,
                                >;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                completions?: object;
                                experimental?: Record<string, object>;
                                logging?: object;
                                prompts?: { listChanged?: boolean };
                                resources?: { listChanged?: boolean; subscribe?: boolean };
                                tools?: { listChanged?: boolean };
                            },
                            {
                                completions?: object;
                                experimental?: Record<string, object>;
                                logging?: object;
                                prompts?: { listChanged?: boolean };
                                resources?: { listChanged?: boolean; subscribe?: boolean };
                                tools?: { listChanged?: boolean };
                            },
                        >;
                        instructions: ZodOptional<ZodString>;
                        protocolVersion: ZodString;
                        serverInfo: ZodObject<
                            extendShape<
                                extendShape<
                                    { name: ZodString; title: ZodOptional<ZodString> },
                                    { version: ZodString; websiteUrl: ZodOptional<ZodString> },
                                >,
                                {
                                    icons: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                },
                            >,
                            "strip",
                            ZodTypeAny,
                            {
                                icons?: {
                                    mimeType?: (...)
                                    | (...);
                                    sizes?: (...) | (...);
                                    src: string;
                                }[];
                                name: string;
                                title?: string;
                                version: string;
                                websiteUrl?: string;
                            },
                            {
                                icons?: {
                                    mimeType?: (...)
                                    | (...);
                                    sizes?: (...) | (...);
                                    src: string;
                                }[];
                                name: string;
                                title?: string;
                                version: string;
                                websiteUrl?: string;
                            },
                        >;
                    },
                >,
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    extendShape<
                        { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                        {
                            capabilities: ZodObject<
                                {
                                    completions: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                    experimental: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    logging: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                    prompts: ZodOptional<
                                        ZodObject<
                                            { listChanged: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ... },
                                            { listChanged?: ... },
                                        >,
                                    >;
                                    resources: ZodOptional<
                                        ZodObject<
                                            { listChanged: ...; subscribe: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ...; subscribe?: ... },
                                            { listChanged?: ...; subscribe?: ... },
                                        >,
                                    >;
                                    tools: ZodOptional<
                                        ZodObject<
                                            { listChanged: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ... },
                                            { listChanged?: ... },
                                        >,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    completions?: object;
                                    experimental?: Record<string, object>;
                                    logging?: object;
                                    prompts?: { listChanged?: (...) | (...) | (...) };
                                    resources?: {
                                        listChanged?: (...) | (...) | (...);
                                        subscribe?: (...) | (...) | (...);
                                    };
                                    tools?: { listChanged?: (...)
                                    | (...)
                                    | (...) };
                                },
                                {
                                    completions?: object;
                                    experimental?: Record<string, object>;
                                    logging?: object;
                                    prompts?: { listChanged?: (...) | (...) | (...) };
                                    resources?: {
                                        listChanged?: (...) | (...) | (...);
                                        subscribe?: (...) | (...) | (...);
                                    };
                                    tools?: { listChanged?: (...)
                                    | (...)
                                    | (...) };
                                },
                            >;
                            instructions: ZodOptional<ZodString>;
                            protocolVersion: ZodString;
                            serverInfo: 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;
                                },
                            >;
                        },
                    >,
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    extendShape<
                        { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                        {
                            capabilities: ZodObject<
                                {
                                    completions: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                    experimental: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    logging: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                                    prompts: ZodOptional<
                                        ZodObject<
                                            { listChanged: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ... },
                                            { listChanged?: ... },
                                        >,
                                    >;
                                    resources: ZodOptional<
                                        ZodObject<
                                            { listChanged: ...; subscribe: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ...; subscribe?: ... },
                                            { listChanged?: ...; subscribe?: ... },
                                        >,
                                    >;
                                    tools: ZodOptional<
                                        ZodObject<
                                            { listChanged: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { listChanged?: ... },
                                            { listChanged?: ... },
                                        >,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    completions?: object;
                                    experimental?: Record<string, object>;
                                    logging?: object;
                                    prompts?: { listChanged?: (...) | (...) | (...) };
                                    resources?: {
                                        listChanged?: (...) | (...) | (...);
                                        subscribe?: (...) | (...) | (...);
                                    };
                                    tools?: { listChanged?: (...)
                                    | (...)
                                    | (...) };
                                },
                                {
                                    completions?: object;
                                    experimental?: Record<string, object>;
                                    logging?: object;
                                    prompts?: { listChanged?: (...) | (...) | (...) };
                                    resources?: {
                                        listChanged?: (...) | (...) | (...);
                                        subscribe?: (...) | (...) | (...);
                                    };
                                    tools?: { listChanged?: (...)
                                    | (...)
                                    | (...) };
                                },
                            >;
                            instructions: ZodOptional<ZodString>;
                            protocolVersion: ZodString;
                            serverInfo: 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;
                                },
                            >;
                        },
                    >,
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
            ZodObject<
                extendShape<
                    { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                    {
                        completion: ZodObject<
                            {
                                hasMore: ZodOptional<ZodBoolean>;
                                total: ZodOptional<ZodNumber>;
                                values: ZodArray<ZodString, "many">;
                            },
                            "passthrough",
                            ZodTypeAny,
                            objectOutputType<
                                {
                                    hasMore: ZodOptional<ZodBoolean>;
                                    total: ZodOptional<ZodNumber>;
                                    values: ZodArray<ZodString, "many">;
                                },
                                ZodTypeAny,
                                "passthrough",
                            >,
                            objectInputType<
                                {
                                    hasMore: ZodOptional<ZodBoolean>;
                                    total: ZodOptional<ZodNumber>;
                                    values: ZodArray<ZodString, "many">;
                                },
                                ZodTypeAny,
                                "passthrough",
                            >,
                        >;
                    },
                >,
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    extendShape<
                        { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                        {
                            completion: ZodObject<
                                {
                                    hasMore: ZodOptional<ZodBoolean>;
                                    total: ZodOptional<ZodNumber>;
                                    values: ZodArray<ZodString, "many">;
                                },
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    {
                                        hasMore: ZodOptional<ZodBoolean>;
                                        total: ZodOptional<ZodNumber>;
                                        values: ZodArray<ZodString, "many">;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    {
                                        hasMore: ZodOptional<ZodBoolean>;
                                        total: ZodOptional<ZodNumber>;
                                        values: ZodArray<ZodString, "many">;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >;
                        },
                    >,
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    extendShape<
                        { _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>> },
                        {
                            completion: ZodObject<
                                {
                                    hasMore: ZodOptional<ZodBoolean>;
                                    total: ZodOptional<ZodNumber>;
                                    values: ZodArray<ZodString, "many">;
                                },
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    {
                                        hasMore: ZodOptional<ZodBoolean>;
                                        total: ZodOptional<ZodNumber>;
                                        values: ZodArray<ZodString, "many">;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    {
                                        hasMore: ZodOptional<ZodBoolean>;
                                        total: ZodOptional<ZodNumber>;
                                        values: ZodArray<ZodString, "many">;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >;
                        },
                    >,
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
        ],
    > = ...