Web Search
tavily_search · Nodes · Search
Searches the web with Tavily.
Performs web searches using the Tavily API. Returns structured search results with optional AI-generated summaries.
Config:
connection- Tavily API connection (API key stored securely)query- Optional default search query. Can be overridden by input.max_results- Number of results to return (1-20). Default:15.include_answer- Whether to include an AI-generated summary of results. Default:false.retry- whether the search is sent again after a failure that passes: a rate limit, a busy server, a dropped connection. Off by default; see Retries. A search is a read, so it is sent again freely.
Input: Optional query override string (passes through if empty)
Output: { "results": [{ "title": "...", "url": "...", "content": "...", "score": 0.95 }, ...], "answer": "AI-generated summary of findings" }
Example:
[Template] → [Tavily Search]
Config: max_results: 3, include_answer: true
→ {
"results": [
{ "title": "Understanding Embeddings", "url": "https://example.com/embeddings", "content": "...", "score": 0.94 },
{ "title": "Vector Databases", "url": "https://example.com/vectors", "content": "...", "score": 0.91 }
],
"answer": "Embeddings are vector representations of text that capture semantic meaning..."
}
Tips:
- Leave
queryin config empty and connect input to make the search dynamic - The
answerfield provides a quick summary wheninclude_answer: true - Use
max_results: 10for comprehensive research,max_results: 3for quick checks - Each result includes a relevance score—filter downstream if needed (score > 0.8 is typically high quality)
- Store search results in a Feather table for later analysis or reference
- Combine with an AI Agent node to synthesize search results into reports
Inputs
inputRequiredconfigOptionalqueryOptional
Outputs
resultsanswer
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
connection | connection(tavily) | Yes | Tavily connection to use |
query | string | No | Static query (can be overridden by wire input) |
max_results | number | No | Maximum results to return |
include_answer | boolean | No | Include AI-generated answer summary |
retry | tagged_union | No | Sends a request again after a failure that passes: a rate limit, a busy server, a dropped connection. Off sends once. |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |