🧪 Skills
Tavily Search with Multi-Key
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...
v1.0.0
Description
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
- 多 key 轮询(推荐):
export TAVILY_API_KEYS="key1,key2,key3" - 单 key 模式:
- 环境变量:
TAVILY_API_KEY=xxx - 或
~/.openclaw/.env文件:TAVILY_API_KEY=xxx
- 环境变量:
Commands
Run from the OpenClaw workspace:
# raw JSON (default)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5
# include short answer (if available)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --include-answer
# stable schema (closer to web_search): {query, results:[{title,url,snippet}], answer?}
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format brave
# human-readable Markdown list
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format md
Output
raw (default)
- JSON:
query, optionalanswer,results: [{title,url,content}]
brave
- JSON:
query, optionalanswer,results: [{title,url,snippet}]
md
- A compact Markdown list with title/url/snippet.
Notes
- Keep
max-resultssmall by default (3–5) to reduce token/reading load. - Prefer returning URLs + snippets; fetch full pages only when needed.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!