Class TextResourceContents
- Namespace
- ModelContextProtocol.Protocol.Types
- Assembly
- ModelContextProtocol.dll
Text contents of a resource. See the schema for details
public class TextResourceContents : ResourceContents
- Inheritance
-
TextResourceContents
- Inherited Members
- Extension Methods
Properties
Text
The text of the item. This must only be set if the item can actually be represented as text (not binary data).
[JsonPropertyName("text")]
public string Text { get; set; }