# Aspire.Hosting.Foundry

- Module: `Aspire.Hosting.Foundry`
- Version: `13.3.0-preview.1.26254.5`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `34`
- Types: `21`

## Types

- [AzureAISearchToolResource](/reference/api/typescript/aspire.hosting.foundry/azureaisearchtoolresource.md) -- `handle` - 1 members
- [AzureCognitiveServicesProjectConnectionResource](/reference/api/typescript/aspire.hosting.foundry/azurecognitiveservicesprojectconnectionresource.md) -- `handle` - 0 members
- [AzureCognitiveServicesProjectResource](/reference/api/typescript/aspire.hosting.foundry/azurecognitiveservicesprojectresource.md) -- `handle` - 25 members
- [AzureFunctionToolResource](/reference/api/typescript/aspire.hosting.foundry/azurefunctiontoolresource.md) -- `handle` - 0 members
- [AzurePromptAgentResource](/reference/api/typescript/aspire.hosting.foundry/azurepromptagentresource.md) -- `handle` - 10 members
- [BingGroundingConnectionResource](/reference/api/typescript/aspire.hosting.foundry/binggroundingconnectionresource.md) -- `handle` - 0 members
- [BingGroundingToolResource](/reference/api/typescript/aspire.hosting.foundry/binggroundingtoolresource.md) -- `handle` - 1 members
- [CodeInterpreterToolResource](/reference/api/typescript/aspire.hosting.foundry/codeinterpretertoolresource.md) -- `handle` - 0 members
- [ComputerToolResource](/reference/api/typescript/aspire.hosting.foundry/computertoolresource.md) -- `handle` - 0 members
- [FabricToolResource](/reference/api/typescript/aspire.hosting.foundry/fabrictoolresource.md) -- `handle` - 0 members
- [FileSearchToolResource](/reference/api/typescript/aspire.hosting.foundry/filesearchtoolresource.md) -- `handle` - 0 members
- [FoundryDeploymentResource](/reference/api/typescript/aspire.hosting.foundry/foundrydeploymentresource.md) -- `handle` - 16 members
- [FoundryModel](/reference/api/typescript/aspire.hosting.foundry/foundrymodel.md) -- `type` - 3 fields
- [FoundryResource](/reference/api/typescript/aspire.hosting.foundry/foundryresource.md) -- `handle` - 3 members
- [FoundryToolResource](/reference/api/typescript/aspire.hosting.foundry/foundrytoolresource.md) -- `handle` - 0 members
- [FunctionToolResource](/reference/api/typescript/aspire.hosting.foundry/functiontoolresource.md) -- `handle` - 0 members
- [HostedAgentConfiguration](/reference/api/typescript/aspire.hosting.foundry/hostedagentconfiguration.md) -- `handle` - 10 members
- [ImageGenerationToolResource](/reference/api/typescript/aspire.hosting.foundry/imagegenerationtoolresource.md) -- `handle` - 0 members
- [SharePointToolResource](/reference/api/typescript/aspire.hosting.foundry/sharepointtoolresource.md) -- `handle` - 0 members
- [WebSearchToolResource](/reference/api/typescript/aspire.hosting.foundry/websearchtoolresource.md) -- `handle` - 0 members

## Functions

- [addAISearchTool](/reference/api/typescript/aspire.hosting.foundry/addaisearchtool.md) -- `method` -- Adds an Azure AI Search tool to a Microsoft Foundry project.
- [addAzureFunctionTool](/reference/api/typescript/aspire.hosting.foundry/addazurefunctiontool.md) -- `method` -- Adds an Azure Function tool to a Microsoft Foundry project.
- [addBingGroundingConnection](/reference/api/typescript/aspire.hosting.foundry/addbinggroundingconnection.md) -- `method` -- Adds a Grounding with Bing Search connection to a Microsoft Foundry project.
- [addBingGroundingConnectionFromParameter](/reference/api/typescript/aspire.hosting.foundry/addbinggroundingconnectionfromparameter.md) -- `method` -- Adds a Grounding with Bing Search connection to a Microsoft Foundry project using a parameter.
- [addBingGroundingTool](/reference/api/typescript/aspire.hosting.foundry/addbinggroundingtool.md) -- `method` -- Adds a Bing Grounding tool to a Microsoft Foundry project.
- [addCapabilityHost](/reference/api/typescript/aspire.hosting.foundry/addcapabilityhost.md) -- `method` -- Adds a capability host to a Microsoft Foundry project.
- [addCodeInterpreterTool](/reference/api/typescript/aspire.hosting.foundry/addcodeinterpretertool.md) -- `method` -- Adds a Code Interpreter tool to a Microsoft Foundry project.
- [addComputerUseTool](/reference/api/typescript/aspire.hosting.foundry/addcomputerusetool.md) -- `method` -- Adds a Computer Use tool to a Microsoft Foundry project.
- [addConnection](/reference/api/typescript/aspire.hosting.foundry/addconnection.md) -- `method` -- Adds a connection to a Microsoft Foundry project.
- [addContainerRegistryConnection](/reference/api/typescript/aspire.hosting.foundry/addcontainerregistryconnection.md) -- `method` -- Adds an Azure Container Registry connection to a Microsoft Foundry project.
- [addCosmosConnection](/reference/api/typescript/aspire.hosting.foundry/addcosmosconnection.md) -- `method` -- Adds an Azure Cosmos DB connection to a Microsoft Foundry project.
- [addDeployment](/reference/api/typescript/aspire.hosting.foundry/adddeployment.md) -- `method` -- Adds a Microsoft Foundry deployment resource to a Microsoft Foundry resource.
- [addFabricTool](/reference/api/typescript/aspire.hosting.foundry/addfabrictool.md) -- `method` -- Adds a Microsoft Fabric data agent tool to a Microsoft Foundry project.
- [addFileSearchTool](/reference/api/typescript/aspire.hosting.foundry/addfilesearchtool.md) -- `method` -- Adds a File Search tool to a Microsoft Foundry project.
- [addFoundry](/reference/api/typescript/aspire.hosting.foundry/addfoundry.md) -- `method` -- Adds a Microsoft Foundry resource to the distributed application model.
- [addFunctionTool](/reference/api/typescript/aspire.hosting.foundry/addfunctiontool.md) -- `method` -- Adds a function calling tool to a Microsoft Foundry project.
- [addImageGenerationTool](/reference/api/typescript/aspire.hosting.foundry/addimagegenerationtool.md) -- `method` -- Adds an Image Generation tool to a Microsoft Foundry project.
- [addKeyVaultConnection](/reference/api/typescript/aspire.hosting.foundry/addkeyvaultconnection.md) -- `method` -- Adds an Azure Key Vault connection to a Microsoft Foundry project.
- [addModelDeployment](/reference/api/typescript/aspire.hosting.foundry/addmodeldeployment.md) -- `method` -- Adds a model deployment to the parent Microsoft Foundry resource.
- [addProject](/reference/api/typescript/aspire.hosting.foundry/addproject.md) -- `method` -- Adds a Microsoft Foundry project resource to a Microsoft Foundry resource.
- [addPromptAgent](/reference/api/typescript/aspire.hosting.foundry/addpromptagent.md) -- `method` -- Adds a prompt agent to a Microsoft Foundry project.
- [addSearchConnection](/reference/api/typescript/aspire.hosting.foundry/addsearchconnection.md) -- `method` -- Adds an Azure AI Search connection to a Microsoft Foundry project.
- [addSharePointTool](/reference/api/typescript/aspire.hosting.foundry/addsharepointtool.md) -- `method` -- Adds a SharePoint grounding tool to a Microsoft Foundry project.
- [addStorageConnection](/reference/api/typescript/aspire.hosting.foundry/addstorageconnection.md) -- `method` -- Adds an Azure Storage connection to a Microsoft Foundry project.
- [addWebSearchTool](/reference/api/typescript/aspire.hosting.foundry/addwebsearchtool.md) -- `method` -- Adds a Web Search tool to a Microsoft Foundry project.
- [publishAsHostedAgent](/reference/api/typescript/aspire.hosting.foundry/publishashostedagent.md) -- `method` -- Publishes an executable resource as a hosted agent in Microsoft Foundry.
- [runAsFoundryLocal](/reference/api/typescript/aspire.hosting.foundry/runasfoundrylocal.md) -- `method` -- Configures the Microsoft Foundry resource to run by using Foundry Local.
- [withAppInsights](/reference/api/typescript/aspire.hosting.foundry/withappinsights.md) -- `method` -- Associates an Azure Application Insights resource with a Microsoft Foundry project.
- [withCapabilityHost](/reference/api/typescript/aspire.hosting.foundry/withcapabilityhost.md) -- `method` -- Associates a supported resource with a capability host on a Microsoft Foundry project.
- [withKeyVault](/reference/api/typescript/aspire.hosting.foundry/withkeyvault.md) -- `method` -- Associates an Azure Key Vault resource with a Microsoft Foundry project.
- [withProperties](/reference/api/typescript/aspire.hosting.foundry/withproperties.md) -- `method` -- Configures properties of a Microsoft Foundry deployment resource.
- [withReference](/reference/api/typescript/aspire.hosting.foundry/withreference.md) -- `method` -- Links an Azure AI Search tool to a backing search resource.
- [withReference](/reference/api/typescript/aspire.hosting.foundry/withreference.md) -- `method` -- Links a Bing Grounding tool to a Bing Search resource or connection.
- [withTool](/reference/api/typescript/aspire.hosting.foundry/withtool.md) -- `method` -- Adds a tool to a prompt agent.

## Enums

- [FoundryRole](/reference/api/typescript/aspire.hosting.foundry/foundryrole.md) -- `enum` - 3 values
