Skip to content

Commit 3aedd3c

Browse files
Copilotstephentoub
andauthored
Fix Icon.Theme documentation to match MCP specification (#1090)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: stephentoub <[email protected]> Co-authored-by: Stephen Toub <[email protected]>
1 parent 9bbae84 commit 3aedd3c

File tree

1 file changed

+3
-2
lines changed
  • src/ModelContextProtocol.Core/Protocol

1 file changed

+3
-2
lines changed

src/ModelContextProtocol.Core/Protocol/Icon.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ public sealed class Icon
7979
/// Gets or sets the optional theme for this icon.
8080
/// </summary>
8181
/// <remarks>
82-
/// Can be "light", "dark", or a custom theme identifier.
83-
/// The value is used to specify which UI theme the icon is designed for.
82+
/// <see cref="Theme"/> may be "light" or "dark". "light" indicates the icon is designed to be used with a light
83+
/// background, and "dark" indicates the icon is designed to be used with a dark background.
84+
/// If not provided, clients should assume the icon can be used with any theme.
8485
/// </remarks>
8586
[JsonPropertyName("theme")]
8687
public string? Theme { get; set; }

0 commit comments

Comments
 (0)