PersistentAgentsModelFactory.RunStepComputerUseToolCallDetails 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 RunStepComputerUseToolCallDetails.
public static Azure.AI.Agents.Persistent.RunStepComputerUseToolCallDetails RunStepComputerUseToolCallDetails(Azure.AI.Agents.Persistent.ComputerUseAction action = default, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.SafetyCheck> pendingSafetyChecks = default, Azure.AI.Agents.Persistent.ComputerScreenshot output = default, System.Collections.Generic.IEnumerable<Azure.AI.Agents.Persistent.SafetyCheck> acknowledgedSafetyChecks = default);
static member RunStepComputerUseToolCallDetails : Azure.AI.Agents.Persistent.ComputerUseAction * seq<Azure.AI.Agents.Persistent.SafetyCheck> * Azure.AI.Agents.Persistent.ComputerScreenshot * seq<Azure.AI.Agents.Persistent.SafetyCheck> -> Azure.AI.Agents.Persistent.RunStepComputerUseToolCallDetails
Public Shared Function RunStepComputerUseToolCallDetails (Optional action As ComputerUseAction = Nothing, Optional pendingSafetyChecks As IEnumerable(Of SafetyCheck) = Nothing, Optional output As ComputerScreenshot = Nothing, Optional acknowledgedSafetyChecks As IEnumerable(Of SafetyCheck) = Nothing) As RunStepComputerUseToolCallDetails
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.
- output
- ComputerScreenshot
The output from the computer use tool.
- acknowledgedSafetyChecks
- IEnumerable<SafetyCheck>
Safety checks that have been acknowledged by the developer.
Returns
A new RunStepComputerUseToolCallDetails instance for mocking.