Share via


ProjectsOpenAIModelFactory.A2ATool(Uri, String, String) Method

Definition

An agent implementing the A2A protocol.

public static Azure.AI.Projects.OpenAI.A2ATool A2ATool(Uri baseUri = default, string agentCardPath = default, string projectConnectionId = default);
static member A2ATool : Uri * string * string -> Azure.AI.Projects.OpenAI.A2ATool
Public Shared Function A2ATool (Optional baseUri As Uri = Nothing, Optional agentCardPath As String = Nothing, Optional projectConnectionId As String = Nothing) As A2ATool

Parameters

baseUri
Uri

Base URL of the agent.

agentCardPath
String

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

projectConnectionId
String

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.

Returns

A new A2ATool instance for mocking.

Applies to