@modelcontextprotocol/sdk
    Preparing search index...

    Variable UnsubscribeRequestSchemaConst

    UnsubscribeRequestSchema: ZodObject<
        extendShape<
            {
                method: ZodString;
                params: ZodOptional<
                    ZodObject<
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    { progressToken: ZodOptional<ZodUnion<(...)>> },
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                            >;
                        },
                        "passthrough",
                        ZodTypeAny,
                        objectOutputType<
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        { progressToken: ZodOptional<(...)> },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                        objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                            },
                            ZodTypeAny,
                            "passthrough",
                        >,
                        objectInputType<
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        { progressToken: ZodOptional<(...)> },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                        objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                            },
                            ZodTypeAny,
                            "passthrough",
                        >,
                    >,
                >;
            },
            {
                method: ZodLiteral<"resources/unsubscribe">;
                params: ZodObject<
                    extendShape<
                        {
                            _meta: ZodOptional<
                                ZodObject<
                                    { progressToken: ZodOptional<ZodUnion<(...)>> },
                                    "passthrough",
                                    ZodTypeAny,
                                    objectOutputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                    objectInputType<
                                        { progressToken: ZodOptional<(...)> },
                                        ZodTypeAny,
                                        "passthrough",
                                    >,
                                >,
                            >;
                        },
                        { uri: ZodString },
                    >,
                    "passthrough",
                    ZodTypeAny,
                    objectOutputType<
                        extendShape<
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        { progressToken: ZodOptional<(...)> },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                        objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                            },
                            { uri: ZodString },
                        >,
                        ZodTypeAny,
                        "passthrough",
                    >,
                    objectInputType<
                        extendShape<
                            {
                                _meta: ZodOptional<
                                    ZodObject<
                                        { progressToken: ZodOptional<(...)> },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                        objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
                                    >,
                                >;
                            },
                            { uri: ZodString },
                        >,
                        ZodTypeAny,
                        "passthrough",
                    >,
                >;
            },
        >,
        "strip",
        ZodTypeAny,
        {
            method: "resources/unsubscribe";
            params: {
                _meta?: objectOutputType<
                    { progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
                    ZodTypeAny,
                    "passthrough",
                >;
                uri: string;
            } & { [k: string]: unknown };
        },
        {
            method: "resources/unsubscribe";
            params: {
                _meta?: objectInputType<
                    { progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>> },
                    ZodTypeAny,
                    "passthrough",
                >;
                uri: string;
            } & { [k: string]: unknown };
        },
    > = ...

    Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request.