AzureCognitiveServicesProjectResource.addFileSearchTool
Method
interface AzureCognitiveServicesProjectResource { // ... omitted for brevity addFileSearchTool( name: string, vectorStoreIds: string[]): FileSearchToolResource;}Signature
method
addFileSearchTool builderAdds a File Search tool to a Microsoft Foundry project, enabling agents to search uploaded files and proprietary documents using vector search.
addFileSearchTool( name: string, vectorStoreIds: string[]): FileSearchToolResourceParameters
namestringThe name of the tool resource.vectorStoreIds string[]Optional vector store IDs to search. If empty, the agent's default stores are used.Returns
FileSearchToolResource Defined on
This method is defined on the following type: