A2AToolCall(String, String, String, ToolCallStatus, String) Constructor

Definition

Initializes a new instance of A2AToolCall.

public A2AToolCall(string callId, string name, string arguments, Azure.AI.AgentServer.Responses.Models.ToolCallStatus status, string id);
new Azure.AI.AgentServer.Responses.Models.A2AToolCall : string * string * string * Azure.AI.AgentServer.Responses.Models.ToolCallStatus * string -> Azure.AI.AgentServer.Responses.Models.A2AToolCall
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 A2A agent card 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