Table of Contents

Method CreateWebSearch

Namespace
LMKit.Agents.Tools.BuiltIn
Assembly
LM-Kit.NET.dll

CreateWebSearch(Provider, string)

Gets a new Web Search tool instance with the specified provider.

public static WebSearchTool CreateWebSearch(WebSearchTool.Provider provider, string apiKey = null)

Parameters

provider WebSearchTool.Provider

The search provider to use.

apiKey string

The API key for providers that require authentication.

Returns

WebSearchTool

CreateWebSearch(Options)

Gets a new Web Search tool instance with custom options.

public static WebSearchTool CreateWebSearch(WebSearchTool.Options options)

Parameters

options WebSearchTool.Options

Configuration options.

Returns

WebSearchTool