AzureFunctionAgentTool Class
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.
The input definition information for an Azure Function Tool, as used to configure an Agent.
public class AzureFunctionAgentTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionAgentTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionAgentTool>
type AzureFunctionAgentTool = class
inherit Tool
interface IUtf8JsonSerializable
interface IJsonModel<AzureFunctionAgentTool>
interface IPersistableModel<AzureFunctionAgentTool>
Public Class AzureFunctionAgentTool
Inherits Tool
Implements IJsonModel(Of AzureFunctionAgentTool), IPersistableModel(Of AzureFunctionAgentTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| AzureFunctionAgentTool() |
Initializes a new instance of AzureFunctionAgentTool for deserialization. |
| AzureFunctionAgentTool(AzureFunctionDefinition) |
Initializes a new instance of AzureFunctionAgentTool. |
| AzureFunctionAgentTool(ToolType, IDictionary<String,BinaryData>, AzureFunctionDefinition) |
Initializes a new instance of AzureFunctionAgentTool. |
Properties
| Name | Description |
|---|---|
| AzureFunction |
The Azure Function Tool definition. |
| Type |
Gets or sets the type. (Inherited from Tool) |
Methods
| Name | Description |
|---|---|
| DeserializeAzureFunctionAgentTool(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |