🦀 ClawHub
Tavily 搜索
by @jacky1n7
Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...
TERMINAL
clawhub install openclaw-tavily-search📖 About This Skill
name: tavily-search description: "Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable or undesired. Returns a small set of relevant results (title, url, snippet) and can optionally include short answer summaries."
Tavily Search
Use the bundled script to search the web with Tavily.
Requirements
TAVILY_API_KEY, or
- ~/.openclaw/.env line: TAVILY_API_KEY=...Commands
Run from the OpenClaw workspace:
# raw JSON (default)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5include short answer (if available)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --include-answerstable schema (closer to web_search): {query, results:[{title,url,snippet}], answer?}
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format bravehuman-readable Markdown list
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format md
Output
raw (default)
query, optional answer, results: [{title,url,content}]brave
query, optional answer, results: [{title,url,snippet}]md
Notes
max-results small by default (3–5) to reduce token/reading load.📋 Tips & Best Practices
max-results small by default (3–5) to reduce token/reading load.