AzureFunctionToolResource
Class sealed net8.0
A Foundry tool resource that enables an agent to invoke an Azure Function.
namespace Aspire.Hosting.Foundry;
public sealed class AzureFunctionToolResource : Aspire.Hosting.Foundry.FoundryToolResource{ // ...} 9 members
Remarks
Section titled Remarks Azure Functions tools allow agents to call serverless functions as tools. The function definition includes the function name, parameters schema, and input/output bindings for Azure Storage queues.
Constructors1
Section titled ConstructorsAzureFunctionToolResource(string, AzureCognitiveServicesProjectResource, string, string, BinaryData, string, string, string, string) Creates a new instance of the
AzureFunctionToolResource class. Properties7
Section titled PropertiesDescriptiongetstring Gets the description of the function (used by the agent to decide when to call it).
FunctionNamegetstring Gets the name of the Azure Function.
InputQueueEndpointgetstring Gets the Azure Storage Queue endpoint for input binding.
InputQueueNamegetstring Gets the queue name for input binding.
OutputQueueEndpointgetstring Gets the Azure Storage Queue endpoint for output binding.
OutputQueueNamegetstring Gets the queue name for output binding.
ParametersgetBinaryData Gets the JSON schema defining the function parameters.