Skip to content
Docs Try Aspire
Docs Try

AzureFunctionToolResource Constructors

Class Constructors 1 member
A Foundry tool resource that enables an agent to invoke an Azure Function.
Constructor(string, AzureCognitiveServicesProjectResource, string, string, BinaryData, string, string, string, string) Section titled Constructor(string, AzureCognitiveServicesProjectResource, string, string, BinaryData, string, string, string, string)
Creates a new instance of the AzureFunctionToolResource class.
public sealed class AzureFunctionToolResource
{
public AzureFunctionToolResource(
string name,
AzureCognitiveServicesProjectResource project,
string functionName,
string description,
BinaryData parameters,
string inputQueueEndpoint,
string inputQueueName,
string outputQueueEndpoint,
string outputQueueName)
{
// ...
}
}
name string The name of the tool resource.
project AzureCognitiveServicesProjectResource The parent Foundry project resource.
functionName string The name of the Azure Function.
description string A description of what the function does.
parameters BinaryData The JSON schema defining the function parameters.
inputQueueEndpoint string The Azure Storage Queue endpoint for input binding.
inputQueueName string The queue name for input binding.
outputQueueEndpoint string The Azure Storage Queue endpoint for output binding.
outputQueueName string The queue name for output binding.