docs/en/tools/search-research/tavilygetresearchtool.mdx
The TavilyGetResearchTool lets CrewAI agents check an existing Tavily research task by request_id. Use it when a research task was started earlier and you need to retrieve its current status or final results.
If you need to start a new research job, use the Tavily Research Tool. This tool is specifically for looking up an existing Tavily research request after you already have its request_id.
To use the TavilyGetResearchTool, install the tavily-python library alongside crewai-tools:
uv add 'crewai[tools]' tavily-python
Set your Tavily API key:
export TAVILY_API_KEY='your_tavily_api_key'
Get an API key at https://app.tavily.com/ (sign up, then create a key).
from crewai_tools import TavilyGetResearchTool
tavily_get_research_tool = TavilyGetResearchTool()
status_result = tavily_get_research_tool.run(
request_id="your-research-request-id"
)
print(status_result)
Use TavilyGetResearchTool when your application or another service has already created a Tavily research task and saved its request_id.
Typical cases include:
The TavilyGetResearchTool accepts the following argument when calling the run method:
request_id (str): Required. The existing Tavily research request ID to retrieve.Use _arun when your application is already running inside an async event loop:
from crewai_tools import TavilyGetResearchTool
tavily_get_research_tool = TavilyGetResearchTool()
status_result = await tavily_get_research_tool._arun(
request_id="your-research-request-id"
)
_run/run or _arun depending on your application's runtime.The tool returns a JSON string containing the current research task status and any available results from Tavily. The exact response shape depends on the task state returned by Tavily, so incomplete tasks may return status information before the final research output is available.
Refer to the Tavily API documentation for full details on the Research API.