Overview
The Web Search plugin enables real-time web searching using Tavily AI’s powerful search API. Get relevant, up-to-date information from across the web directly in your Nadoo workflows.Category: Utility | Author: Nadoo Team | Version: 1.0.0 | License: MIT
Features
Real-time Search
Get up-to-date information from the web
AI-Powered
Tavily AI ranks results by relevance
Configurable Depth
Choose between basic and advanced search
Country Filtering
Filter results by country
Installation
Prerequisites
You need a Tavily API key:- Visit tavily.com
- Sign up for a free account
- Get your API key from the dashboard
Set Environment Variable
Download Pre-built
Build from Source
Tools
search
Search the web and get relevant results.Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | - | Search query |
max_results | number | No | 5 | Number of results (1-20) |
search_depth | string | No | "basic" | Search depth: "basic" or "advanced" |
country | string | No | - | Country filter (e.g., “south korea”, “united states”) |
Response Format
Usage Examples
Basic Search
Advanced Search
Country-Specific Search
In AI Agent Workflow
RAG Pattern (Search + LLM)
Multi-Query Search
Search Depth Comparison
- Basic Search
- Advanced Search
Best for: Quick lookups, simple queriesCharacteristics:
- Faster response time
- 5-10 sources checked
- Good for straightforward queries
- Lower API cost
- You need quick results
- Query is simple and well-defined
- Budget is a concern
Error Handling
Rate Limits
Tavily API has rate limits based on your plan:Free Tier: 1,000 requests/monthPro Tier: Higher limits availableCheck your usage at tavily.com/dashboard
Best Practices
Optimize Query Phrasing
Optimize Query Phrasing
- Be specific: “Python async best practices 2024” vs “Python async”
- Use keywords, not full sentences
- Include context when needed
Choose Appropriate Depth
Choose Appropriate Depth
- Use
basicfor most queries (faster, cheaper) - Use
advancedfor research or ambiguous queries - Monitor your API usage
Handle Results
Handle Results
- Check
successbefore processing - Use
scorefield to rank results - Consider using top 3-5 results for context
Combine with LLM
Combine with LLM
- Use RAG pattern for better answers
- Let LLM synthesize information from multiple sources
- Include source citations
Use Cases
Research Assistant
Help users research topics with up-to-date information
News Monitoring
Track latest news and trends in specific domains
Fact Checking
Verify information against current web sources
Content Discovery
Find relevant articles, tutorials, and resources
Troubleshooting
API Key Not Found
API Key Not Found
Error:
TAVILY_API_KEY environment variable not setSolution:Invalid API Key
Invalid API Key
Error:
Invalid API keySolution:- Verify your API key at tavily.com
- Ensure no extra spaces or quotes
- Check if key is active
Rate Limit Exceeded
Rate Limit Exceeded
Error:
Rate limit exceededSolution:- Wait before retrying
- Upgrade your Tavily plan
- Implement caching to reduce calls
No Results
No Results
Error: Empty results arraySolution:
- Try different query phrasing
- Use more general terms
- Check if topic is too niche
Contributing
Want to improve this plugin? Contributions welcome!- Fork official-plugins
- Make your changes to
web-search/main.py - Test with your Tavily API key
- Submit a pull request
License
MIT License - Nadoo TeamSupport
GitHub Issues
Report bugs or request features
Source Code
View plugin source code
Tavily Docs
Tavily API documentation
Get API Key
Sign up for Tavily API