addAzureFunctionTool
Method
interface AzureCognitiveServicesProjectResource { // ... omitted for brevity addAzureFunctionTool( name: string, functionName: string, description: string, parametersJson: string, inputQueueEndpoint: string, inputQueueName: string, outputQueueEndpoint: string, outputQueueName: string): AzureFunctionToolResource;}Signature
method
addAzureFunctionTool builderAdds an Azure Function tool to a Microsoft Foundry project, enabling agents to invoke a serverless Azure Function with queue-based input/output bindings.
addAzureFunctionTool( name: string, functionName: string, description: string, parametersJson: string, inputQueueEndpoint: string, inputQueueName: string, outputQueueEndpoint: string, outputQueueName: string): AzureFunctionToolResourceParameters
namestringThe name of the tool resource.functionName stringThe name of the Azure Function.descriptionstringA description of what the function does.parametersJson stringThe JSON schema defining the function parameters as a JSON string.inputQueueEndpoint stringThe Azure Storage Queue endpoint for input binding.inputQueueName stringThe queue name for input binding.outputQueueEndpoint stringThe Azure Storage Queue endpoint for output binding.outputQueueName stringThe queue name for output binding.Returns
AzureFunctionToolResource Applies to
This method applies to the following types: