ProjectsAgentTool.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 a new tool that lets the agent communicate with another agent over the Agent-to-Agent (A2A) protocol.
public static OpenAI.Responses.ResponseTool CreateA2ATool(Uri baseUri, string agentCardPath = default);
static member CreateA2ATool : Uri * string -> OpenAI.Responses.ResponseTool
Public Shared Function CreateA2ATool (baseUri As Uri, Optional agentCardPath As String = Nothing) As ResponseTool
Parameters
- baseUri
- Uri
The base URI of the remote agent endpoint.
- agentCardPath
- String
Optional path to the remote agent's agent card.