Share via


SubmitToolApprovalAction Class

Definition

The details for required tool call approval that must be submitted for an agent thread run to continue.

public class SubmitToolApprovalAction : Azure.AI.Agents.Persistent.RequiredAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.SubmitToolApprovalAction>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.SubmitToolApprovalAction>
type SubmitToolApprovalAction = class
    inherit RequiredAction
    interface IJsonModel<SubmitToolApprovalAction>
    interface IPersistableModel<SubmitToolApprovalAction>
Public Class SubmitToolApprovalAction
Inherits RequiredAction
Implements IJsonModel(Of SubmitToolApprovalAction), IPersistableModel(Of SubmitToolApprovalAction)
Inheritance
SubmitToolApprovalAction
Implements

Properties

SubmitToolApproval

The details describing tools that should be approved to continue run.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RequiredAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RequiredAction)
IJsonModel<RequiredAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RequiredAction)
IJsonModel<SubmitToolApprovalAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SubmitToolApprovalAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RequiredAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RequiredAction)
IPersistableModel<RequiredAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RequiredAction)
IPersistableModel<RequiredAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RequiredAction)
IPersistableModel<SubmitToolApprovalAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubmitToolApprovalAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SubmitToolApprovalAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to