Share via


FunctionToolCallItemParam Constructors

Definition

Overloads

FunctionToolCallItemParam()

Source:
FunctionToolCallItemParam.cs

Initializes a new instance of FunctionToolCallItemParam for deserialization.

public FunctionToolCallItemParam();
Public Sub New ()

Applies to

FunctionToolCallItemParam(String, String, String)

Source:
FunctionToolCallItemParam.cs

Initializes a new instance of FunctionToolCallItemParam.

public FunctionToolCallItemParam(string callId, string name, string arguments);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.FunctionToolCallItemParam : string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.FunctionToolCallItemParam
Public Sub New (callId As String, name As String, arguments As String)

Parameters

callId
String

The unique ID of the function tool call generated by the model.

name
String

The name of the function to run.

arguments
String

A JSON string of the arguments to pass to the function.

Exceptions

callId, name or arguments is null.

Applies to

FunctionToolCallItemParam(ItemType, IDictionary<String,BinaryData>, String, String, String)

Source:
FunctionToolCallItemParam.cs

Initializes a new instance of FunctionToolCallItemParam.

public FunctionToolCallItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string callId, string name, string arguments);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.FunctionToolCallItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.FunctionToolCallItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), callId As String, name As String, arguments As String)

Parameters

type
ItemType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

callId
String

The unique ID of the function tool call generated by the model.

name
String

The name of the function to run.

arguments
String

A JSON string of the arguments to pass to the function.

Applies to