FoundryToolboxResource.WithWebSearchTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
type FoundryToolboxResource interface {
// ... omitted for brevity
WithWebSearchTool(options ...*WithWebSearchToolOptions) FoundryToolboxResource
}

Signature

methodWithWebSearchToolbuilder
Adds a web search tool definition to the Toolbox.
WithWebSearchTool(options ...*WithWebSearchToolOptions) FoundryToolboxResource
options...*WithWebSearchToolOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithWebSearchToolOptions argument.

Name*stringThe tool name.
Description*stringAn optional description of the web search tool.
FoundryToolboxResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: