Class TavilyWebSearchOptions

Assembly: redb.Route.Llm.Tools.dll

Configuration for .

public sealed class TavilyWebSearchOptions

Inheritance

Object→TavilyWebSearchOptions

Properties

ApiKey

Tavily API key. Required. Get one at https://tavily.com/.

public string ApiKey { get; init; }

Endpoint

Tavily search endpoint. Override only for testing/proxying.

public string Endpoint { get; init; }

EndpointUri

Endpoint URI the tool is mounted on. Default "direct:llm.web_search".

public string EndpointUri { get; init; }

IncludeAnswer

When true, ask Tavily to include a short answer summary in the response.

public bool IncludeAnswer { get; init; }

MaxResults

Maximum results to request from Tavily. Default 5. Tavily caps at 20.

public int MaxResults { get; init; }

SearchDepth

"basic" (faster, cheaper) or "advanced" (deeper crawl).

public string SearchDepth { get; init; }

Timeout

HTTP request timeout. Default 20 seconds.

public TimeSpan Timeout { get; init; }

ToolName

Tool name exposed to the model. Default "web_search".

public string ToolName { get; init; }