@modelcontextprotocol/sdk
    Preparing search index...

    Interface SetLevelRequestParams

    Parameters for a logging/setLevel request.

    interface SetLevelRequestParams {
        _meta?: { progressToken?: ProgressToken; [key: string]: unknown };
        level: LoggingLevel;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    _meta?: { progressToken?: ProgressToken; [key: string]: unknown }

    See General fields: _meta for notes on _meta usage.

    Type Declaration

    • [key: string]: unknown
    • OptionalprogressToken?: ProgressToken

      If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.

    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.