Table of Contents

Class ToolContent

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocol.dll

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

string

Properties

Text

The text.

public string Text { get; init; }

Property Value

string

Type

The kind of the part: text.

public string Type { get; init; }

Property Value

string

Methods

Of(string)

A part that is a text.

public static ToolContent Of(string text)

Parameters

text string

The text.

Returns

ToolContent

The part.