A2AToolCallOutput(String, String, ToolCallStatus, String) Constructor

Definition

Initializes a new instance of A2AToolCallOutput.

public A2AToolCallOutput(string callId, string name, Azure.AI.AgentServer.Responses.Models.ToolCallStatus status, string id);
new Azure.AI.AgentServer.Responses.Models.A2AToolCallOutput : string * string * Azure.AI.AgentServer.Responses.Models.ToolCallStatus * string -> Azure.AI.AgentServer.Responses.Models.A2AToolCallOutput
Public Sub New (callId As String, name 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 that was called.

status
ToolCallStatus

The status of the tool call.

id
String

Exceptions

callId, name or id is null.

Applies to