addFunctionTool
Method
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, enabling agents to call application-defined functions with structured parameters.
addFunctionTool( name: string, functionName: string, parametersJson: string, description?: string, strictModeEnabled?: boolean): FunctionToolResourceParameters
name string functionName string parametersJson string description string optional strictModeEnabled boolean optional Returns
FunctionToolResource Applies to
This method applies to the following types: