Class ComputerUsePreviewTool
A tool that controls a virtual computer. Learn more about the computer tool.
public sealed class ComputerUsePreviewTool : ITool
- Inheritance
-
ComputerUsePreviewTool
- Implements
- Inherited Members
Constructors
ComputerUsePreviewTool()
public ComputerUsePreviewTool()
ComputerUsePreviewTool(int, int, string)
public ComputerUsePreviewTool(int displayHeight, int displayWidth, string environment)
Parameters
Properties
DisplayHeight
The height of the computer display.
[JsonInclude]
[JsonPropertyName("display_height")]
public int DisplayHeight { get; }
Property Value
DisplayWidth
The width of the computer display.
[JsonInclude]
[JsonPropertyName("display_width")]
public int DisplayWidth { get; }
Property Value
Environment
The type of computer environment to control.
[JsonInclude]
[JsonPropertyName("environment")]
public string Environment { get; }
Property Value
Type
[JsonInclude]
[JsonPropertyName("type")]
public string Type { get; }
Property Value
Operators
implicit operator Tool(ComputerUsePreviewTool)
public static implicit operator Tool(ComputerUsePreviewTool computerUsePreviewTool)
Parameters
computerUsePreviewTool
ComputerUsePreviewTool