FoundryAITool.CreateA2ATool(Uri, String) Method
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.
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.