FoundryAITool.CreateA2ATool(Uri, String) Method

Definition

Creates an AITool for Agent-to-Agent (A2A) communication.

public static Microsoft.Extensions.AI.AITool CreateA2ATool(Uri baseUri, string? agentCardPath = default);
static member CreateA2ATool : Uri * string -> Microsoft.Extensions.AI.AITool
Public Shared Function CreateA2ATool (baseUri As Uri, Optional agentCardPath As String = Nothing) As AITool

Parameters

baseUri
Uri

The base URI for the A2A agent.

agentCardPath
String

Optional path to the agent card.

Returns

An AITool for A2A communication.

Applies to