PersistentAgentsModelFactory.RequiredComputerUseToolCallDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RequiredComputerUseToolCallDetails.
public static Azure.AI.Agents.Persistent.RequiredComputerUseToolCallDetails RequiredComputerUseToolCallDetails(Azure.AI.Agents.Persistent.ComputerUseAction action = default, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.SafetyCheck> pendingSafetyChecks = default);
static member RequiredComputerUseToolCallDetails : Azure.AI.Agents.Persistent.ComputerUseAction * seq<Azure.AI.Agents.Persistent.SafetyCheck> -> Azure.AI.Agents.Persistent.RequiredComputerUseToolCallDetails
Public Shared Function RequiredComputerUseToolCallDetails (Optional action As ComputerUseAction = Nothing, Optional pendingSafetyChecks As IEnumerable(Of SafetyCheck) = Nothing) As RequiredComputerUseToolCallDetails
Parameters
- action
- ComputerUseAction
The action to be performed by the computer use tool. Please note ComputerUseAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ClickAction, DoubleClickAction, DragAction, KeyPressAction, MoveAction, ScreenshotAction, ScrollAction, TypeAction and WaitAction.
- pendingSafetyChecks
- IEnumerable<SafetyCheck>
Safety checks that are pending acknowledgment by the developer.
Returns
A new RequiredComputerUseToolCallDetails instance for mocking.