Optional
apiAn API wrapper that can be used to interact with the Tavily Search API. Useful for testing.
If specified, the tool will use this API wrapper instead of creating a new one, and fields used in API Wrapper initialization, like TavilySearchAPIRetrieverFields.tavilyApiKey, will be ignored.
Optional
description?: undefined | stringThe description of the tool.
Optional
excludeA list of domains to specifically exclude from the search results.
Optional
includeInclude a short answer to the original query.
Optional
includeA list of domains to specifically include in the search results.
Optional
includeWhen includeImages is set to True, this option adds descriptive text for each image.
Optional
includeInclude a list of query-related images in the response.
Optional
includeInclude the cleaned and parsed HTML content of each search result.
Optional
maxThe maximum number of search results to return.
Optional
name?: undefined | stringThe name of the tool.
Optional
returnWhether to return the tool's output directly.
Setting this to true means that after the tool is called, an agent should stop looping.
Optional
searchThe depth of the search. It can be "basic" or "advanced".
Optional
tavilyThe API key used for authentication with the Tavily Search API.
Optional
timeThe time range of the search. This will filter the time range of the results back from the current date. See https://docs.tavily.com/docs/rest-api/api-reference
Optional
topic?: undefined | TopicTypeThe category of the search. This will determine which of our agents will be used for the search. Currently, only "general" and "news" are supported. See https://docs.tavily.com/docs/rest-api/api-reference
Options for the TavilySearchResults tool.