FoundryToolboxBuilderExtensions
Classstaticnet10.0
Extension methods for adding Microsoft Foundry Toolbox resources and tools.
namespace Aspire.Hosting;
public static class FoundryToolboxBuilderExtensions{ // ...}9 members
Methods9
Section titled MethodsAddToolbox(IResourceBuilder<AzureCognitiveServicesProjectResource>, string, Action<FoundryToolboxResource>)extensionats ignoredIResourceBuilder<FoundryToolboxResource> Adds a Microsoft Foundry Toolbox endpoint to a Microsoft Foundry project.
IResourceBuilder<FoundryToolboxResource> Uses an existing Microsoft Foundry Toolbox during local runs and deployment.
IResourceBuilder<FoundryToolboxResource> Reconciles a Microsoft Foundry Toolbox during local runs and uses an existing Toolbox during deployment.
IResourceBuilder<FoundryToolboxResource> Uses an existing Microsoft Foundry Toolbox during local runs and reconciles it during deployment.
WithAISearchTool(IResourceBuilder<FoundryToolboxResource>, string, IResourceBuilder<AzureSearchResource>, string, string?)extensionats exportIResourceBuilder<FoundryToolboxResource> Adds an Azure AI Search tool definition to the Toolbox.
IResourceBuilder<FoundryToolboxResource> Sets the description persisted with each Toolbox version.
WithMcpTool(IResourceBuilder<FoundryToolboxResource>, string, string, FoundryToolboxMcpToolOptions?)extensionats ignoredIResourceBuilder<FoundryToolboxResource> Adds an MCP tool definition to the Toolbox.
WithMcpTool(IResourceBuilder<FoundryToolboxResource>, string, EndpointReference, FoundryToolboxMcpToolOptions?)extensionats ignoredIResourceBuilder<FoundryToolboxResource> Adds an MCP tool definition to the Toolbox.
IResourceBuilder<FoundryToolboxResource> Adds a web search tool definition to the Toolbox.