ProjectsOpenAIModelFactory.A2AToolCall Method

Definition

An A2A (Agent-to-Agent) tool call.

public static Azure.AI.Projects.OpenAI.A2AToolCall A2AToolCall(string id = default, Azure.AI.Projects.OpenAI.AgentReference agentReference = default, string responseId = default, string callId = default, string name = default, string arguments = default, Azure.AI.Projects.OpenAI.ToolCallStatus status = Azure.AI.Projects.OpenAI.ToolCallStatus.InProgress);
static member A2AToolCall : string * Azure.AI.Projects.OpenAI.AgentReference * string * string * string * string * Azure.AI.Projects.OpenAI.ToolCallStatus -> Azure.AI.Projects.OpenAI.A2AToolCall
Public Shared Function A2AToolCall (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing, Optional callId As String = Nothing, Optional name As String = Nothing, Optional arguments As String = Nothing, Optional status As ToolCallStatus = Azure.AI.Projects.OpenAI.ToolCallStatus.InProgress) As A2AToolCall

Parameters

id
String
agentReference
AgentReference

The agent that created the item.

responseId
String

The response on which the item is created.

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.

Returns

A new A2AToolCall instance for mocking.

Applies to