Share via


ChatResponseMessage.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 ChatCompletionsFunctionToolCall.

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

Property Value

Applies to