Advanced web search using the Tavily API. Use when the user asks to search the web, look up current events, find real-time information, research a topic, check facts, or retrieve data from the internet.
web_scraperhttp_requestgithub or searchpythonclaw.json:
"tavily": { "apiKey": "tvly-..." }
pip install tavily-pythonUse the built-in web_search tool — no script required.
| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| query | string | Search query (be specific) | required |
| search_depth | string | "basic" (fast) or "advanced" (thorough) | "basic" |
| topic | string | "general", "news", or "finance" | "general" |
| max_results | integer | Results count (1–20) | 5 |
| time_range | string | "day", "week", "month", "year" | none |
Examples:
web_search(query="Python 3.13 new features")
web_search(query="AI industry news", topic="news", time_range="week", max_results=10)
web_search(query="NVIDIA stock analysis 2026", topic="finance", search_depth="advanced")
topic="news" for current events, topic="finance" for market datatime_range when freshness mattersCategory:web-search