@modelcontextprotocol/sdk
    Preparing search index...

    Interface UnsubscribeRequest

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

    interface UnsubscribeRequest {
        id: RequestId;
        jsonrpc: "2.0";
        method: "resources/unsubscribe";
        params: { uri: string };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    jsonrpc: "2.0"
    method: "resources/unsubscribe"
    params: { uri: string }

    Type Declaration

    • uri: string

      The URI of the resource to unsubscribe from.

      uri