Class | Package | PY support | Package latest |
---|---|---|---|
TavilySearch | @langchain/tavily | ✅ |
@langchain/tavily
package, which you can install as shown below:
TAVILY_API_KEY
.
TavilySearch
tool like this:
query
(required): A natural language search query
includeImages
, searchDepth
, timeRange
, includeDomains
, excludeDomains
, includeImages
.
includeAnswer
and includeRawContent
. These limitations prevent unexpected context window issues and ensure consistent results.
ToolCall
, in which case a ToolMessage
will be returned: