A2ATool Constructors
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.
Overloads
| Name | Description |
|---|---|
| A2ATool() |
Initializes a new instance of A2ATool. |
| A2ATool(ToolType, IDictionary<String,BinaryData>, Uri, String, String) |
Initializes a new instance of A2ATool. |
A2ATool()
- Source:
- A2ATool.cs
Initializes a new instance of A2ATool.
public A2ATool();
Public Sub New ()
Applies to
A2ATool(ToolType, IDictionary<String,BinaryData>, Uri, String, String)
- Source:
- A2ATool.cs
Initializes a new instance of A2ATool.
public A2ATool(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Uri baseUrl, string agentCardPath, string projectConnectionId);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.A2ATool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType * System.Collections.Generic.IDictionary<string, BinaryData> * Uri * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.A2ATool
Public Sub New (type As ToolType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), baseUrl As Uri, agentCardPath As String, projectConnectionId As String)
Parameters
- type
- ToolType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- baseUrl
- 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.