AzureCognitiveServicesProjectResource.addFunctionTool
Method
interface AzureCognitiveServicesProjectResource { // ... omitted for brevity addFunctionTool( name: string, functionName: string, parametersJson: string, description?: string, strictModeEnabled?: boolean): FunctionToolResource;}Signature
method
addFunctionToolbuilderAdds a function calling tool to a Microsoft Foundry project, enabling agents to call application-defined functions with structured parameters.
addFunctionTool( name: string, functionName: string, parametersJson: string, description?: string, strictModeEnabled?: boolean): FunctionToolResourceParameters
namestringfunctionNamestringparametersJsonstringdescriptionstringoptionalstrictModeEnabledbooleanoptionalReturns
FunctionToolResourceDefined on
This method is defined on the following type: