A2AToolCall(String, String, String, ToolCallStatus, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.