Tavily Search
Search the web and get relevant results optimized for LLM consumption.
Authentication
Get your API key at https://tavily.com and add to your OpenClaw config:
{
"skills": {
"entries": {
"tavily-search": {
"enabled": true,
"apiKey": "tvly-YOUR_API_KEY_HERE"
}
}
}
}
Or set the environment variable: export TAVILY_API_KEY="tvly-YOUR_API_KEY_HERE"
Quick Start
node {baseDir}/scripts/search.mjs "query"
node {baseDir}/scripts/search.mjs "query" -n 10
node {baseDir}/scripts/search.mjs "query" --deep
node {baseDir}/scripts/search.mjs "query" --topic news
Options
| Option | Description | Default |
|---|---|---|
| -n <count> | Number of results (1-20) | 10 |
| --depth | ultra-fast, fast, basic, advanced | basic |
| --topic | general or news | general |
| --time-range | day, week, month, year | - |
| --include-domains | Comma-separated domains | - |
| --exclude-domains | Comma-separated domains | - |
| --raw-content | Include full page content | false |