AzureCognitiveServicesProjectResource.AddComputerUseTool
Method
type AzureCognitiveServicesProjectResource interface { // ... omitted for brevity AddComputerUseTool( name string, options ...*AddComputerUseToolOptions, ) ComputerToolResource}Signature
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().
Defined on
This method is defined on the following type: