Compartilhar via


AIProjectsModelFactory.RunStepToolCallDetails Method

Definition

Initializes a new instance of RunStepToolCallDetails.

public static Azure.AI.Projects.RunStepToolCallDetails RunStepToolCallDetails (System.Collections.Generic.IEnumerable<Azure.AI.Projects.RunStepToolCall> toolCalls = default);
static member RunStepToolCallDetails : seq<Azure.AI.Projects.RunStepToolCall> -> Azure.AI.Projects.RunStepToolCallDetails
Public Shared Function RunStepToolCallDetails (Optional toolCalls As IEnumerable(Of RunStepToolCall) = Nothing) As RunStepToolCallDetails

Parameters

toolCalls
IEnumerable<RunStepToolCall>

A list of tool call details for this run step. Please note RunStepToolCall 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 RunStepAzureAISearchToolCall, RunStepBingGroundingToolCall, RunStepCodeInterpreterToolCall, RunStepFileSearchToolCall, RunStepFunctionToolCall, RunStepMicrosoftFabricToolCall and RunStepSharepointToolCall.

Returns

A new RunStepToolCallDetails instance for mocking.

Applies to