Share via


ComputerToolOutput Class

Definition

The output from a computer use tool to be submitted.

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

Constructors

Name Description
ComputerToolOutput(ComputerScreenshot)

Initializes a new instance of ComputerToolOutput.

Properties

Name Description
AcknowledgedSafetyChecks

Safety checks that have been acknowledged by the developer.

Output

The output from the computer use tool.

ToolCallId

The ID of the tool call being resolved, as provided in the tool calls of a required action from a run.

(Inherited from StructuredToolOutput)

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<ComputerToolOutput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<StructuredToolOutput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from StructuredToolOutput)
IPersistableModel<ComputerToolOutput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputerToolOutput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputerToolOutput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<StructuredToolOutput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from StructuredToolOutput)

Applies to