TavilySearchTool

TavilySearchTool(
    *,
    llm_config: LLMConfig | dict[str, Any] | None = None,
    tavily_api_key: str | None = None
)

TavilySearchTool is a tool that uses the Tavily Search API to perform a search.
This tool allows agents to leverage the Tavily search engine for information retrieval.
It requires a Tavily API key, which can be provided during initialization or set as an environment variable TAVILY_API_KEY.
Attributes:
tavily_api_key (str): The API key used for authenticating with the Tavily API.
Initializes the TavilySearchTool.

Parameters:
NameDescription
llm_configType: LLMConfig | dict[str, typing.Any] | None

Default: None
tavily_api_keyType: str | None

Default: None