Share via


ToolDescription Class

Definition

Description of a tool that can be used by an agent.

public class ToolDescription : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.ToolDescription>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.ToolDescription>
type ToolDescription = class
    interface IJsonModel<ToolDescription>
    interface IPersistableModel<ToolDescription>
Public Class ToolDescription
Implements IJsonModel(Of ToolDescription), IPersistableModel(Of ToolDescription)
Inheritance
ToolDescription
Implements

Constructors

Name Description
ToolDescription()

Initializes a new instance of ToolDescription.

Properties

Name Description
Description

A brief description of the tool's purpose.

Name

The name of the tool.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ToolDescription>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ToolDescription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ToolDescription>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ToolDescription>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ToolDescription>.Write(ModelReaderWriterOptions)

Applies to