次の方法で共有


PersistentAgentsModelFactory.RequiredComputerUseToolCallDetails Method

Definition

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.

Applies to