Use Tavily to perform web and news searches, with configurable result count, topic, and time range. Suitable for information discovery and news monitoring.
This skill provides web search capabilities using Tavily.
TAVILY_API_KEY environment variable.searchSearch the web for information or news.
Arguments:
query (str): Search query.--max_results (int): Maximum results to return (default: 10).--topic (str): 'general' or 'news' (default: 'general').--days (int): Days back for news search (default: 10).--domains (list): Specific domains to search (optional).Usage:
# General search
python scripts/search.py "latest AI trends" --max_results 5
# News search
python scripts/search.py "NVIDIA stock" --topic news --days 3
# Domain specific
python scripts/search.py "Python 3.12 release" --domains python.org
cd backend/skills/web-search
bash setup.sh
export TAVILY_API_KEY="tvly-..."
JSON list of results with title, href, body, and score.
Category:web-search