AzureCognitiveServicesProjectResource.addComputerUseTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addComputerUseTool(
name: string,
displayWidth?: number,
displayHeight?: number,
environment?: string): ComputerToolResource;
}

Signature

methodaddComputerUseToolbuilder
Adds a Computer Use tool to a Microsoft Foundry project, enabling agents to interact with a computer desktop by taking screenshots, moving the mouse, clicking, and typing.
addComputerUseTool(
name: string,
displayWidth?: number,
displayHeight?: number,
environment?: string): ComputerToolResource
namestringThe name of the tool resource.
displayWidthnumberoptional= 1024The width of the display in pixels.
displayHeightnumberoptional= 768The height of the display in pixels.
environmentstringoptional= browserThe environment identifier. Defaults to "browser".
ComputerToolResource

Defined on

This method is defined on the following type: