FoundryToolboxResource
Represents a Microsoft Foundry Toolbox endpoint associated with a Foundry project.
type FoundryToolboxResource interface { ExpressionValue Resource ResourceWithConnectionString}Methods
AsExisting() FoundryToolboxResourceReturns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
PublishAsExisting() FoundryToolboxResourceReturns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
RunAsExisting() FoundryToolboxResourceReturns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
WithAISearchTool( name string, search AzureSearchResource, indexName string, options ...*WithAISearchToolOptions,) FoundryToolboxResourceParameters
namestringThe tool name.searchAzureSearchResource The Azure AI Search resource backing the tool.indexName stringThe search index name.options...*WithAISearchToolOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithAISearchToolOptions argument.
Description*stringAn optional description of the Azure AI Search tool.Returns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
WithDescription(description string) FoundryToolboxResourceParameters
descriptionstringThe Toolbox description.Returns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
WithMcpTool( name string, endpoint any, options ...*FoundryToolboxMcpToolOptions,) FoundryToolboxResourceParameters
namestringThe tool name.endpointanyThe MCP endpoint. A string URI, an EndpointReference pointing at a resource endpoint, or a ReferenceExpression for cases where the endpoint URL needs to be composed (for example, appending the MCP server's mount path or chaining through a public ingress like a dev tunnel).options...*FoundryToolboxMcpToolOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *FoundryToolboxMcpToolOptions struct.
Returns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
WithWebSearchTool(options ...*WithWebSearchToolOptions) FoundryToolboxResourceParameters
options...*WithWebSearchToolOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithWebSearchToolOptions argument.
Name*stringThe tool name.Description*stringAn optional description of the web search tool.Returns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().