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
FunctionToolResourceApplies to
This method applies to the following types: