FoundryToolboxResource
Handle
interface FoundryToolboxResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IValueProvider, IValueWithReferences { asExisting(): FoundryToolboxResource; publishAsExisting(): FoundryToolboxResource; runAsExisting(): FoundryToolboxResource; withAISearchTool( name: string, search: AzureSearchResource, indexName: string, description?: string): FoundryToolboxResource; withDescription(description: string): FoundryToolboxResource; withMcpTool( name: string, endpoint: string | EndpointReference | ReferenceExpression, options?: FoundryToolboxMcpToolOptions): FoundryToolboxResource; withWebSearchTool( name?: string, description?: string): FoundryToolboxResource;}7 members
Methods
Uses an existing Microsoft Foundry Toolbox during local runs and deployment.
asExisting(): FoundryToolboxResourceReturns
FoundryToolboxResource Reconciles a Microsoft Foundry Toolbox during local runs and uses an existing Toolbox during deployment.
publishAsExisting(): FoundryToolboxResourceReturns
FoundryToolboxResource Uses an existing Microsoft Foundry Toolbox during local runs and reconciles it during deployment.
runAsExisting(): FoundryToolboxResourceReturns
FoundryToolboxResource Adds an Azure AI Search tool definition to the Toolbox.
withAISearchTool( name: string, search: AzureSearchResource, indexName: string, description?: string): FoundryToolboxResourceParameters
namestringsearchAzureSearchResource indexName stringdescriptionstringoptionalReturns
FoundryToolboxResource Sets the description persisted with each Toolbox version.
withDescription(description: string): FoundryToolboxResourceParameters
descriptionstringReturns
FoundryToolboxResource Adds an MCP tool definition to the Toolbox.
withMcpTool( name: string, endpoint: string | EndpointReference | ReferenceExpression, options?: FoundryToolboxMcpToolOptions): FoundryToolboxResourceParameters
namestringendpointstring | EndpointReference | ReferenceExpression optionsFoundryToolboxMcpToolOptions optionalReturns
FoundryToolboxResource Adds a web search tool definition to the Toolbox.
withWebSearchTool( name?: string, description?: string): FoundryToolboxResourceParameters
namestringoptional= web-searchdescriptionstringoptionalReturns
FoundryToolboxResource