namespace ModelContextProtocol.Protocol.Messages; /// /// A class containing constants for notification methods. /// public static class NotificationMethods { /// /// Sent by the server when the list of tools changes. /// public const string ToolListChangedNotification = "notifications/tools/list_changed"; /// /// Sent by the server when the list of prompts changes. /// public const string PromptsListChanged = "notifications/prompts/list_changed"; /// /// Sent by the server when the list of resources changes. /// public const string ResourceListChangedNotification = "notifications/resources/list_changed"; /// /// Sent by the server when a resource is updated. /// public const string ResourceUpdatedNotification = "notifications/resources/updated"; /// /// Sent by the client when roots have been updated. /// public const string RootsUpdatedNotification = "notifications/roots/list_changed"; }