FunctionToolResource Constructors
Class Constructors 1 member
A Foundry tool resource that enables an agent to call a user-defined function.
Constructor(string, AzureCognitiveServicesProjectResource, string, BinaryData, string?, bool?) Section titled Constructor(string, AzureCognitiveServicesProjectResource, string, BinaryData, string?, bool?) Creates a new instance of the
FunctionToolResource class. public sealed class FunctionToolResource{ public FunctionToolResource( string name, AzureCognitiveServicesProjectResource project, string functionName, BinaryData parameters, string? description = null, bool? strictModeEnabled = null) { // ... }}Parameters
name string The name of the tool resource. project AzureCognitiveServicesProjectResource The parent Foundry project resource. functionName string The name of the function. parameters BinaryData The JSON schema defining the function parameters. description string? optional A description of what the function does. strictModeEnabled bool? optional Whether to enable strict mode for parameter validation.