Share via


ComputerUseToolDefinition Class

Definition

The input definition information for a Computer Use tool as used to configure an agent.

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

Constructors

Name Description
ComputerUseToolDefinition(ComputerUseToolParameters)

Initializes a new instance of ComputerUseToolDefinition.

Properties

Name Description
ComputerUsePreview

The computer use tool parameters.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<ComputerUseToolDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ToolDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ToolDefinition)
IPersistableModel<ComputerUseToolDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputerUseToolDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputerUseToolDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ToolDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ToolDefinition)

Extension Methods

Name Description
AsAITool(ToolDefinition)

Creates an AITool to represent a ToolDefinition.

Applies to