addFileSearchTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addFileSearchTool(
name: string,
vectorStoreIds: string[]): FileSearchToolResource;
}

Signature

methodaddFileSearchToolbuilder
Adds 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[]): FileSearchToolResource
namestringThe name of the tool resource.
vectorStoreIdsstring[]Optional vector store IDs to search. If empty, the agent's default stores are used.
FileSearchToolResource

Applies to

This method applies to the following types: