Skip to content
Docs Try Aspire
Docs Try

ComputerToolResource Constructors

Class Constructors 1 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")
{
// ...
}
}
name string The name of the tool resource.
project AzureCognitiveServicesProjectResource The parent Foundry project resource.
displayWidth int optional The width of the display in pixels.
displayHeight int optional The height of the display in pixels.
environment string optional The environment identifier (e.g., "browser").