ComputerUsePreviewTool Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A tool that controls a virtual computer. Learn more about the computer tool.
public class ComputerUsePreviewTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewTool>
type ComputerUsePreviewTool = class
inherit Tool
interface IUtf8JsonSerializable
interface IJsonModel<ComputerUsePreviewTool>
interface IPersistableModel<ComputerUsePreviewTool>
Public Class ComputerUsePreviewTool
Inherits Tool
Implements IJsonModel(Of ComputerUsePreviewTool), IPersistableModel(Of ComputerUsePreviewTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ComputerUsePreviewTool() |
Initializes a new instance of ComputerUsePreviewTool for deserialization. |
| ComputerUsePreviewTool(ComputerUsePreviewToolEnvironment, Int32, Int32) |
Initializes a new instance of ComputerUsePreviewTool. |
| ComputerUsePreviewTool(ToolType, IDictionary<String,BinaryData>, ComputerUsePreviewToolEnvironment, Int32, Int32) |
Initializes a new instance of ComputerUsePreviewTool. |
Properties
| Name | Description |
|---|---|
| DisplayHeight |
The height of the computer display. |
| DisplayWidth |
The width of the computer display. |
| Environment |
The type of computer environment to control. |
| Type |
Gets or sets the type. (Inherited from Tool) |
Methods
| Name | Description |
|---|---|
| DeserializeComputerUsePreviewTool(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |