FoundryToolboxResource.WithWebSearchTool
Method
type FoundryToolboxResource interface { // ... omitted for brevity WithWebSearchTool(options ...*WithWebSearchToolOptions) FoundryToolboxResource}Signature
method
WithWebSearchTool builderAdds a web search tool definition to the Toolbox.
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().
Defined on
This method is defined on the following type: