Fix Icon.Theme documentation to match MCP specification (#1090)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
This commit is contained in:
Copilot 2025-12-12 16:33:51 +02:00 • committed by GitHub
commit 3aedd3cd9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,8 +79,9 @@ public sealed class Icon
/// Gets or sets the optional theme for this icon.
/// </summary>
/// <remarks>
/// Can be "light", "dark", or a custom theme identifier.
/// The value is used to specify which UI theme the icon is designed for.
/// <see cref="Theme"/> may be "light" or "dark". "light" indicates the icon is designed to be used with a light
/// background, and "dark" indicates the icon is designed to be used with a dark background.
/// If not provided, clients should assume the icon can be used with any theme.
/// </remarks>
[JsonPropertyName("theme")]
public string? Theme { get; set; }