using System.ComponentModel; using System.Text.Json.Serialization; using ModelContextProtocol.Server; namespace ModelContextProtocol.Protocol; /// /// Represents the tools capability configuration. /// See the schema for details. /// public sealed class ToolsCapability { /// /// Gets or sets a value that indicates whether this server supports notifications for changes to the tool list. /// /// /// When set to , the server sends notifications using /// when tools are added, /// removed, or modified. Clients can register handlers for these notifications to /// refresh their tool cache. This capability enables clients to stay synchronized with server-side /// changes to available tools. /// [JsonPropertyName("listChanged")] public bool? ListChanged { get; set; } }