@modelcontextprotocol/sdk
    Preparing search index...

    Variable InitializeResultSchemaConst

    InitializeResultSchema: 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<ZodBoolean> },
                                "strip",
                                ZodTypeAny,
                                { listChanged?: boolean },
                                { listChanged?: boolean },
                            >,
                        >;
                        resources: ZodOptional<
                            ZodObject<
                                {
                                    listChanged: ZodOptional<ZodBoolean>;
                                    subscribe: ZodOptional<ZodBoolean>;
                                },
                                "strip",
                                ZodTypeAny,
                                { listChanged?: boolean; subscribe?: boolean },
                                { listChanged?: boolean; subscribe?: boolean },
                            >,
                        >;
                        tools: ZodOptional<
                            ZodObject<
                                { listChanged: ZodOptional<ZodBoolean> },
                                "strip",
                                ZodTypeAny,
                                { listChanged?: boolean },
                                { listChanged?: boolean },
                            >,
                        >;
                    },
                    "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<
                                        {
                                            mimeType: ZodOptional<(...)>;
                                            sizes: ZodOptional<(...)>;
                                            src: ZodString;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        { mimeType?: (...)
                                        | (...); sizes?: (...) | (...); src: string },
                                        { mimeType?: (...) | (...); sizes?: (...) | (...); src: string },
                                    >,
                                    "many",
                                >,
                            >;
                        },
                    >,
                    "strip",
                    ZodTypeAny,
                    {
                        icons?: { mimeType?: string; sizes?: string[]; src: string }[];
                        name: string;
                        title?: string;
                        version: string;
                        websiteUrl?: string;
                    },
                    {
                        icons?: { mimeType?: string; sizes?: string[]; 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<object, ZodTypeDef, object>>,
                            >;
                            logging: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                            prompts: ZodOptional<
                                ZodObject<
                                    { listChanged: ZodOptional<ZodBoolean> },
                                    "strip",
                                    ZodTypeAny,
                                    { listChanged?: boolean },
                                    { listChanged?: boolean },
                                >,
                            >;
                            resources: ZodOptional<
                                ZodObject<
                                    {
                                        listChanged: ZodOptional<ZodBoolean>;
                                        subscribe: ZodOptional<ZodBoolean>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { listChanged?: boolean; subscribe?: boolean },
                                    { listChanged?: boolean; subscribe?: boolean },
                                >,
                            >;
                            tools: ZodOptional<
                                ZodObject<
                                    { listChanged: ZodOptional<ZodBoolean> },
                                    "strip",
                                    ZodTypeAny,
                                    { listChanged?: boolean },
                                    { listChanged?: boolean },
                                >,
                            >;
                        },
                        "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<
                                            { mimeType: ...; sizes: ...; src: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { mimeType?: ...; sizes?: ...; src: ... },
                                            { mimeType?: ...; sizes?: ...; src: ... },
                                        >,
                                        "many",
                                    >,
                                >;
                            },
                        >,
                        "strip",
                        ZodTypeAny,
                        {
                            icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
                            name: string;
                            title?: string;
                            version: string;
                            websiteUrl?: string;
                        },
                        {
                            icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
                            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<object, ZodTypeDef, object>>,
                            >;
                            logging: ZodOptional<ZodType<object, ZodTypeDef, object>>;
                            prompts: ZodOptional<
                                ZodObject<
                                    { listChanged: ZodOptional<ZodBoolean> },
                                    "strip",
                                    ZodTypeAny,
                                    { listChanged?: boolean },
                                    { listChanged?: boolean },
                                >,
                            >;
                            resources: ZodOptional<
                                ZodObject<
                                    {
                                        listChanged: ZodOptional<ZodBoolean>;
                                        subscribe: ZodOptional<ZodBoolean>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { listChanged?: boolean; subscribe?: boolean },
                                    { listChanged?: boolean; subscribe?: boolean },
                                >,
                            >;
                            tools: ZodOptional<
                                ZodObject<
                                    { listChanged: ZodOptional<ZodBoolean> },
                                    "strip",
                                    ZodTypeAny,
                                    { listChanged?: boolean },
                                    { listChanged?: boolean },
                                >,
                            >;
                        },
                        "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<
                                            { mimeType: ...; sizes: ...; src: ... },
                                            "strip",
                                            ZodTypeAny,
                                            { mimeType?: ...; sizes?: ...; src: ... },
                                            { mimeType?: ...; sizes?: ...; src: ... },
                                        >,
                                        "many",
                                    >,
                                >;
                            },
                        >,
                        "strip",
                        ZodTypeAny,
                        {
                            icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
                            name: string;
                            title?: string;
                            version: string;
                            websiteUrl?: string;
                        },
                        {
                            icons?: { mimeType?: string; sizes?: (...)[]; src: string }[];
                            name: string;
                            title?: string;
                            version: string;
                            websiteUrl?: string;
                        },
                    >;
                },
            >,
            ZodTypeAny,
            "passthrough",
        >,
    > = ...

    After receiving an initialize request from the client, the server sends this response.