@modelcontextprotocol/sdk
    Preparing search index...

    Variable ContentBlockSchemaConst

    ContentBlockSchema: ZodUnion<
        [
            ZodObject<
                {
                    _meta: ZodOptional<
                        ZodObject<
                            {},
                            "passthrough",
                            ZodTypeAny,
                            objectOutputType<{}, ZodTypeAny, "passthrough">,
                            objectInputType<{}, ZodTypeAny, "passthrough">,
                        >,
                    >;
                    text: ZodString;
                    type: ZodLiteral<"text">;
                },
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        text: ZodString;
                        type: ZodLiteral<"text">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        text: ZodString;
                        type: ZodLiteral<"text">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
            ZodObject<
                {
                    _meta: ZodOptional<
                        ZodObject<
                            {},
                            "passthrough",
                            ZodTypeAny,
                            objectOutputType<{}, ZodTypeAny, "passthrough">,
                            objectInputType<{}, ZodTypeAny, "passthrough">,
                        >,
                    >;
                    data: ZodString;
                    mimeType: ZodString;
                    type: ZodLiteral<"image">;
                },
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        data: ZodString;
                        mimeType: ZodString;
                        type: ZodLiteral<"image">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        data: ZodString;
                        mimeType: ZodString;
                        type: ZodLiteral<"image">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
            ZodObject<
                {
                    _meta: ZodOptional<
                        ZodObject<
                            {},
                            "passthrough",
                            ZodTypeAny,
                            objectOutputType<{}, ZodTypeAny, "passthrough">,
                            objectInputType<{}, ZodTypeAny, "passthrough">,
                        >,
                    >;
                    data: ZodString;
                    mimeType: ZodString;
                    type: ZodLiteral<"audio">;
                },
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        data: ZodString;
                        mimeType: ZodString;
                        type: ZodLiteral<"audio">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        data: ZodString;
                        mimeType: ZodString;
                        type: ZodLiteral<"audio">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
            ZodObject<
                extendShape<
                    extendShape<
                        { name: ZodString; title: ZodOptional<ZodString> },
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    {},
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<{}, ZodTypeAny, "passthrough">,
                                    objectInputType<{}, ZodTypeAny, "passthrough">,
                                >,
                            >;
                            description: ZodOptional<ZodString>;
                            mimeType: ZodOptional<ZodString>;
                            uri: ZodString;
                        },
                    >,
                    { type: ZodLiteral<"resource_link"> },
                >,
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    extendShape<
                        extendShape<
                            { name: ZodString; title: ZodOptional<ZodString> },
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        {},
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{}, ZodTypeAny, "passthrough">,
                                        objectInputType<{}, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                                description: ZodOptional<ZodString>;
                                mimeType: ZodOptional<ZodString>;
                                uri: ZodString;
                            },
                        >,
                        { type: ZodLiteral<"resource_link"> },
                    >,
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    extendShape<
                        extendShape<
                            { name: ZodString; title: ZodOptional<ZodString> },
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        {},
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{}, ZodTypeAny, "passthrough">,
                                        objectInputType<{}, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                                description: ZodOptional<ZodString>;
                                mimeType: ZodOptional<ZodString>;
                                uri: ZodString;
                            },
                        >,
                        { type: ZodLiteral<"resource_link"> },
                    >,
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
            ZodObject<
                {
                    _meta: ZodOptional<
                        ZodObject<
                            {},
                            "passthrough",
                            ZodTypeAny,
                            objectOutputType<{}, ZodTypeAny, "passthrough">,
                            objectInputType<{}, ZodTypeAny, "passthrough">,
                        >,
                    >;
                    resource: ZodUnion<
                        [
                            ZodObject<
                                extendShape<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                        mimeType: ZodOptional<ZodString>;
                                        uri: ZodString;
                                    },
                                    { text: ZodString },
                                >,
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { text: ZodString },
                                    >,
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { text: ZodString },
                                    >,
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >,
                            ZodObject<
                                extendShape<
                                    {
                                        _meta: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
                                        mimeType: ZodOptional<ZodString>;
                                        uri: ZodString;
                                    },
                                    { blob: ZodString },
                                >,
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { blob: ZodString },
                                    >,
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                                objectInputType<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { blob: ZodString },
                                    >,
                                    ZodTypeAny,
                                    "passthrough",
                                >,
                            >,
                        ],
                    >;
                    type: ZodLiteral<"resource">;
                },
                "passthrough",
                ZodTypeAny,
                objectOutputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        resource: ZodUnion<
                            [
                                ZodObject<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { text: ZodString },
                                    >,
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { text: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { text: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                                ZodObject<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { blob: ZodString },
                                    >,
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { blob: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { blob: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                            ],
                        >;
                        type: ZodLiteral<"resource">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
                objectInputType<
                    {
                        _meta: ZodOptional<
                            ZodObject<
                                {},
                                "passthrough",
                                ZodTypeAny,
                                objectOutputType<{}, ZodTypeAny, "passthrough">,
                                objectInputType<{}, ZodTypeAny, "passthrough">,
                            >,
                        >;
                        resource: ZodUnion<
                            [
                                ZodObject<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { text: ZodString },
                                    >,
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { text: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { text: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                                ZodObject<
                                    extendShape<
                                        {
                                            _meta: ZodOptional<(...)>;
                                            mimeType: ZodOptional<(...)>;
                                            uri: ZodString;
                                        },
                                        { blob: ZodString },
                                    >,
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { blob: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        extendShape<
                                            { _meta: ...; mimeType: ...; uri: ... },
                                            { blob: ... },
                                        >,
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                            ],
                        >;
                        type: ZodLiteral<"resource">;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
        ],
    > = ...

    A content block that can be used in prompts and tool results.