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

PersistentAgentsModelFactory.RequiredToolCall(String, String) Method

Definition

Initializes a new instance of RequiredToolCall.

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

Parameters

type
String

The object type.

id
String

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

Returns

A new RequiredToolCall instance for mocking.

Applies to