A2ATool 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 agent implementing the A2A protocol.
public class A2ATool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.A2ATool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.A2ATool>
type A2ATool = class
inherit Tool
interface IUtf8JsonSerializable
interface IJsonModel<A2ATool>
interface IPersistableModel<A2ATool>
Public Class A2ATool
Inherits Tool
Implements IJsonModel(Of A2ATool), IPersistableModel(Of A2ATool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| A2ATool() |
Initializes a new instance of A2ATool. |
| A2ATool(ToolType, IDictionary<String,BinaryData>, Uri, String, String) |
Initializes a new instance of A2ATool. |
Properties
| Name | Description |
|---|---|
| AgentCardPath |
The path to the agent card relative to the |
| BaseUrl |
Base URL of the agent. |
| ProjectConnectionId |
The connection ID in the project for the A2A server. The connection stores authentication and other connection details needed to connect to the A2A server. |
| Type |
Gets or sets the type. (Inherited from Tool) |
Methods
| Name | Description |
|---|---|
| DeserializeA2ATool(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |