Class ToolContent
One part of what a call of a tool answers: a text.
public sealed record ToolContent : IEquatable<ToolContent>
- Inheritance
-
ToolContent
- Implements
- Inherited Members
Fields
TextType
The kind of a part that is a text (Type).
public const string TextType = "text"
Field Value
Properties
Text
The text.
public string Text { get; init; }
Property Value
Type
The kind of the part: text.
public string Type { get; init; }
Property Value
Methods
Of(string)
A part that is a text.
public static ToolContent Of(string text)
Parameters
textstringThe text.
Returns
- ToolContent
The part.