@modelcontextprotocol/sdk
    Preparing search index...

    Interface SubscribeRequest

    Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

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

    Type Declaration

    • uri: string

      The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.

      uri