AzureFunctionToolDefinition 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 a azure function tool as used to configure an agent.
public class AzureFunctionToolDefinition : Azure.AI.Projects.ToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.AzureFunctionToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.AzureFunctionToolDefinition>
type AzureFunctionToolDefinition = class
inherit ToolDefinition
interface IJsonModel<AzureFunctionToolDefinition>
interface IPersistableModel<AzureFunctionToolDefinition>
Public Class AzureFunctionToolDefinition
Inherits ToolDefinition
Implements IJsonModel(Of AzureFunctionToolDefinition), IPersistableModel(Of AzureFunctionToolDefinition)
- Inheritance
- Implements
Constructors
AzureFunctionToolDefinition(String, String, AzureFunctionBinding, AzureFunctionBinding, BinaryData) |
Initializes a new instance of AzureFunctionDefinition. |
Properties
Description |
A description of what the function does, used by the model to choose when and how to call the function. |
Name |
The name of the function to be called. |
Parameters |
The parameters the functions accepts, described as a JSON Schema object. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. |
GetHashCode() |
Serves as the default hash function. |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |