A2AToolCall Class
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.
An A2A (Agent-to-Agent) tool call.
public class A2AToolCall : Azure.AI.AgentServer.Responses.Models.OutputItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.A2AToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.A2AToolCall>
type A2AToolCall = class
inherit OutputItem
interface IJsonModel<A2AToolCall>
interface IPersistableModel<A2AToolCall>
Public Class A2AToolCall
Inherits OutputItem
Implements IJsonModel(Of A2AToolCall), IPersistableModel(Of A2AToolCall)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| A2AToolCall(String, String, String, ToolCallStatus, String) |
Initializes a new instance of A2AToolCall. |
Properties
| Name | Description |
|---|---|
| AgentReference |
The agent that created the item. (Inherited from OutputItem) |
| Arguments |
A JSON string of the arguments to pass to the tool. |
| CallId |
The unique ID of the tool call generated by the model. |
| CreatedBy |
The information about the creator of the item To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). <remarks> Supported types: </remarks>Examples:
|
| Id |
Gets or sets the Id. |
| Name |
The name of the A2A agent card being called. |
| ResponseId |
The response on which the item is created. (Inherited from OutputItem) |
| Status |
The status of the tool call. |
Methods
Explicit Interface Implementations
Extension Methods
| Name | Description |
|---|---|
| GetId(OutputItem) |
Gets the |