AddComputerUseTool
Method
func (AzureCognitiveServicesProjectResource) AddComputerUseTool( name string, options ...*AddComputerUseToolOptions,) ComputerToolResourceSignature
method
AddComputerUseTool builderAdds 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,) ComputerToolResourceParameters
namestringThe name of the tool resource.options...*AddComputerUseToolOptions Optional settings, described under Options.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".Returns
ComputerToolResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: