- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents an icon that can be used to visually identify an implementation, resource, tool, or prompt.
- Inheritance
-
Icon
- Inherited Members
Properties
MimeType
Gets or sets the optional MIME type of the icon.
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }
Property Value
Sizes
Gets or sets the optional size specifications for the icon.
[JsonPropertyName("sizes")]
public IList<string>? Sizes { get; set; }
Property Value
Source
Gets or sets the URI pointing to the icon resource.
[JsonPropertyName("src")]
public required string Source { get; set; }
Property Value
Theme
Gets or sets the optional theme for this icon.
[JsonPropertyName("theme")]
public string? Theme { get; set; }