Overview
Integration details
Tool features
Setup
The integration lives in the@langchain/tavily package:
Credentials
Set up an API key on the Tavily dashboard and set it as an environment variable namedTAVILY_API_KEY.
Instantiation
You can import and instantiateTavilyGetResearch like this:
Invocation
Invoke directly with args
The Tavily get research tool accepts the following argument during invocation:requestId(required): The unique identifier of the research task to retrieve
Invoke with ToolCall
You can also invoke the tool with a model-generatedToolCall, in which case a ToolMessage is returned:
Use within an agent
Pass both research tools tocreateAgent so the agent can start a research task and retrieve results by request ID:
API reference
For detailed documentation of all Tavily Get Research API features and configurations, see the API reference: docs.tavily.com/documentation/api-reference/endpoint/research-getConnect these docs to Claude, VSCode, and more via MCP for real-time answers.

