A2APreviewTool Class

Definition

An agent implementing the A2A protocol.

public class A2APreviewTool : Azure.AI.AgentServer.Responses.Models.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.A2APreviewTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.A2APreviewTool>
type A2APreviewTool = class
    inherit Tool
    interface IJsonModel<A2APreviewTool>
    interface IPersistableModel<A2APreviewTool>
Public Class A2APreviewTool
Inherits Tool
Implements IJsonModel(Of A2APreviewTool), IPersistableModel(Of A2APreviewTool)
Inheritance
A2APreviewTool
Implements

Constructors

Name Description
A2APreviewTool()

Initializes a new instance of A2APreviewTool.

Properties

Name Description
AgentCardPath

The path to the agent card relative to the base_url. If not provided, defaults to /.well-known/agent-card.json

BaseUrl

Base URL of the agent.

Description

Optional user-defined description for this tool or configuration.

Name

Optional user-defined name for this tool or configuration.

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<A2APreviewTool>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<A2APreviewTool>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<Tool>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from Tool)
IJsonModel<Tool>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from Tool)
IPersistableModel<A2APreviewTool>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<A2APreviewTool>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<A2APreviewTool>.Write(ModelReaderWriterOptions)
IPersistableModel<Tool>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from Tool)
IPersistableModel<Tool>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from Tool)
IPersistableModel<Tool>.Write(ModelReaderWriterOptions) (Inherited from Tool)

Applies to