csharp-sdk/src/ModelContextProtocol.Core/Protocol/RootsListChangedNotificationParams.cs
Tarek Mahmoud Sayed 8ddb3cc36f
Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651)
Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
2026-06-22 10:24:50 -07:00

16 lines
785 B
C#

namespace ModelContextProtocol.Protocol;
/// <summary>
/// Represents the parameters used with a <see cref="NotificationMethods.RootsListChangedNotification"/>
/// notification from the client to the server, informing it that the list of roots has changed.
/// </summary>
/// <remarks>
/// <para>
/// This notification can be issued by clients without any previous subscription from the server.
/// </para>
/// <para>
/// See the <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/">schema</see> for details.
/// </para>
/// </remarks>
[Obsolete(Obsoletions.DeprecatedRoots_Message, DiagnosticId = Obsoletions.Deprecated_DiagnosticId, UrlFormat = Obsoletions.Deprecated_Url)]
public sealed class RootsListChangedNotificationParams : NotificationParams;