@modelcontextprotocol/sdk
    Preparing search index...

    Interface SetLevelRequest

    A request from the client to the server, to enable or adjust logging.

    interface SetLevelRequest {
        id: RequestId;
        jsonrpc: "2.0";
        method: "logging/setLevel";
        params: { level: LoggingLevel };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    jsonrpc: "2.0"
    method: "logging/setLevel"
    params: { level: LoggingLevel }

    Type Declaration

    • level: LoggingLevel

      The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/message.