using System.Text.Json.Serialization; namespace ModelContextProtocol.Protocol; /// /// Represents the parameters used with a request from a client /// to enable or adjust logging. /// /// /// This request allows clients to configure the level of logging information they want to receive from the server. /// The server will send notifications for log events at the specified level and all higher (more severe) levels. /// public sealed class SetLevelRequestParams : RequestParams { /// /// Gets or sets the level of logging that the client wants to receive from the server. /// [JsonPropertyName("level")] public required LoggingLevel Level { get; set; } }