ComputerToolResource
Class sealed net8.0
A Foundry tool resource that enables an agent to interact with a computer desktop by taking screenshots, moving the mouse, clicking, and typing.
namespace Aspire.Hosting.Foundry;
public sealed class ComputerToolResource : Aspire.Hosting.Foundry.FoundryToolResource{ // ...} 5 members
Remarks
Section titled Remarks The computer tool requires specifying the display dimensions and environment.
Constructors1
Section titled ConstructorsComputerToolResource(string, AzureCognitiveServicesProjectResource, int, int, string) Creates a new instance of the
ComputerToolResource class. Properties3
Section titled PropertiesDisplayHeightgetint Gets the height of the display in pixels.
DisplayWidthgetint Gets the width of the display in pixels.
Environmentgetstring Gets the environment identifier.