Skip to content
Docs Try Aspire
Docs Try

AzureCognitiveServicesProjectResource.addFunctionTool

Method
📦 Aspire.Hosting.Foundry v13.3.0-preview.1.26254.5
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addFunctionTool(
name: string,
functionName: string,
parametersJson: string,
description?: string,
strictModeEnabled?: boolean): FunctionToolResource;
}

Signature

method addFunctionTool builder
Adds a function calling tool to a Microsoft Foundry project.
addFunctionTool(
name: string,
functionName: string,
parametersJson: string,
description?: string,
strictModeEnabled?: boolean): FunctionToolResource
name string
functionName string
parametersJson string
description string optional
strictModeEnabled boolean optional
FunctionToolResource

Defined on

This method is defined on the following type: