FunctionTool 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.
Function.
public class FunctionTool : Azure.AI.AgentServer.Responses.Models.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.FunctionTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.FunctionTool>
type FunctionTool = class
inherit Tool
interface IJsonModel<FunctionTool>
interface IPersistableModel<FunctionTool>
Public Class FunctionTool
Inherits Tool
Implements IJsonModel(Of FunctionTool), IPersistableModel(Of FunctionTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| FunctionTool(String, IDictionary<String,BinaryData>, Nullable<Boolean>) |
Initializes a new instance of FunctionTool. |
Properties
| Name | Description |
|---|---|
| Description |
Gets or sets the Description. |
| Name |
The name of the function to call. |
| Parameters |
Gets or sets the Parameters. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| Strict |
Gets or sets the Strict. |