你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersistentAgentsModelFactory.RequiredComputerUseToolCall Method

Definition

Initializes a new instance of RequiredComputerUseToolCall.

public static Azure.AI.Agents.Persistent.RequiredComputerUseToolCall RequiredComputerUseToolCall(string id = default, Azure.AI.Agents.Persistent.RequiredComputerUseToolCallDetails computerUsePreview = default);
static member RequiredComputerUseToolCall : string * Azure.AI.Agents.Persistent.RequiredComputerUseToolCallDetails -> Azure.AI.Agents.Persistent.RequiredComputerUseToolCall
Public Shared Function RequiredComputerUseToolCall (Optional id As String = Nothing, Optional computerUsePreview As RequiredComputerUseToolCallDetails = Nothing) As RequiredComputerUseToolCall

Parameters

id
String

The ID of the tool call. This ID must be referenced when submitting tool outputs.

computerUsePreview
RequiredComputerUseToolCallDetails

Detailed information about the computer use action to be executed.

Returns

A new RequiredComputerUseToolCall instance for mocking.

Applies to