Class ResourceContents
- Namespace
- ModelContextProtocol.Protocol.Types
- Assembly
- ModelContextProtocol.dll
Represents the content of a resource. See the schema for details
[JsonConverter(typeof(ResourceContents.Converter))]
public abstract class ResourceContents
- Inheritance
-
ResourceContents
- Derived
- Inherited Members
- Extension Methods
Properties
MimeType
The type of content.
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }
Property Value
Uri
The URI of the resource.
[JsonPropertyName("uri")]
public string Uri { get; set; }