OpenApiToolCall(String, String, String, ToolCallStatus, String) Constructor

Definition

Initializes a new instance of OpenApiToolCall.

public OpenApiToolCall(string callId, string name, string arguments, Azure.AI.AgentServer.Responses.Models.ToolCallStatus status, string id);
new Azure.AI.AgentServer.Responses.Models.OpenApiToolCall : string * string * string * Azure.AI.AgentServer.Responses.Models.ToolCallStatus * string -> Azure.AI.AgentServer.Responses.Models.OpenApiToolCall
Public Sub New (callId As String, name As String, arguments As String, status As ToolCallStatus, id As String)

Parameters

callId
String

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

name
String

The name of the OpenAPI operation being called.

arguments
String

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

status
ToolCallStatus

The status of the tool call.

id
String

Exceptions

callId, name, arguments or id is null.

Applies to