ComputerToolResource Constructors
ClassConstructors1 member
A Foundry tool resource that enables an agent to interact with a computer desktop by taking screenshots, moving the mouse, clicking, and typing.
Constructor(string, AzureCognitiveServicesProjectResource, int, int, string)Section titled Constructor(string, AzureCognitiveServicesProjectResource, int, int, string) Creates a new instance of the
ComputerToolResource class. public sealed class ComputerToolResource{ public ComputerToolResource( string name, AzureCognitiveServicesProjectResource project, int displayWidth = 1024, int displayHeight = 768, string environment = "browser") { // ... }}Parameters
namestringThe name of the tool resource.projectAzureCognitiveServicesProjectResourceThe parent Foundry project resource.displayWidthintoptionalThe width of the display in pixels.displayHeightintoptionalThe height of the display in pixels.environmentstringoptionalThe environment identifier (e.g., "browser").