Share via


ToolArgumentBinding Class

Definition

The ToolArgumentBinding.

public class ToolArgumentBinding : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolArgumentBinding>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolArgumentBinding>
type ToolArgumentBinding = class
    interface IUtf8JsonSerializable
    interface IJsonModel<ToolArgumentBinding>
    interface IPersistableModel<ToolArgumentBinding>
Public Class ToolArgumentBinding
Implements IJsonModel(Of ToolArgumentBinding), IPersistableModel(Of ToolArgumentBinding), IUtf8JsonSerializable
Inheritance
ToolArgumentBinding
Implements

Constructors

Name Description
ToolArgumentBinding()

Initializes a new instance of ToolArgumentBinding for deserialization.

ToolArgumentBinding(String, String, IDictionary<String,BinaryData>)

Initializes a new instance of ToolArgumentBinding.

ToolArgumentBinding(String)

Initializes a new instance of ToolArgumentBinding.

Properties

Name Description
ArgumentName

The name of the argument within the tool.

ToolName

The name of the tool to participate in the argument binding. If not provided, then all tools with matching arguments will participate in binding.

Methods

Name Description
DeserializeToolArgumentBinding(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<ToolArgumentBinding>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ToolArgumentBinding>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ToolArgumentBinding>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ToolArgumentBinding>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ToolArgumentBinding>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to