ProjectsAgentsModelFactory.A2APreviewTool 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.
An agent implementing the A2A protocol.
public static Azure.AI.Projects.Agents.A2APreviewTool A2APreviewTool(string name = default, string description = default, Uri baseUri = default, string agentCardPath = default, string projectConnectionId = default);
static member A2APreviewTool : string * string * Uri * string * string -> Azure.AI.Projects.Agents.A2APreviewTool
Public Shared Function A2APreviewTool (Optional name As String = Nothing, Optional description As String = Nothing, Optional baseUri As Uri = Nothing, Optional agentCardPath As String = Nothing, Optional projectConnectionId As String = Nothing) As A2APreviewTool
Parameters
- name
- String
Optional user-defined name for this tool or configuration.
- description
- String
Optional user-defined description for this tool or configuration.
- 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 A2APreviewTool instance for mocking.