AzureCognitiveServicesProjectResource.AddComputerUseTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
type AzureCognitiveServicesProjectResource interface {
// ... omitted for brevity
AddComputerUseTool(
name string,
options ...*AddComputerUseToolOptions,
) 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,
options ...*AddComputerUseToolOptions,
) ComputerToolResource
namestringThe name of the tool resource.
options...*AddComputerUseToolOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddComputerUseToolOptions argument.

DisplayWidth*float64The width of the display in pixels.
DisplayHeight*float64The height of the display in pixels.
Environment*stringThe environment identifier. Defaults to "browser".
ComputerToolResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: