FunctionToolResource Constructors
ClassConstructors1 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
namestringThe name of the tool resource.projectAzurefunctionName stringThe name of the function.parametersBinaryData The JSON schema defining the function parameters.descriptionstring?optionalA description of what the function does.strictModeEnabled bool?optionalWhether to enable strict mode for parameter validation.