Compartilhar via


ChatRequestAssistantMessage.ToolCalls Property

Definition

The tool calls that must be resolved and have their outputs appended to subsequent input messages for the chat completions request to resolve as configured. Please note ChatCompletionsToolCall 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 Azure.AI.Inference.ChatCompletionsFunctionToolCall.

public System.Collections.Generic.IList<Azure.AI.Inference.ChatCompletionsToolCall> ToolCalls { get; }
member this.ToolCalls : System.Collections.Generic.IList<Azure.AI.Inference.ChatCompletionsToolCall>
Public ReadOnly Property ToolCalls As IList(Of ChatCompletionsToolCall)

Property Value

Applies to