tavily-usage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTavily Search and Extract
Tavily 搜索与提取
Use Tavily MCP tools for web search and content retrieval operations.
使用Tavily MCP工具执行网页搜索和内容检索操作。
Tool Selection
工具选择
Tavily Search (mcp__tavily__tavily_search
)
mcp__tavily__tavily_searchTavily Search (mcp__tavily__tavily_search
)
mcp__tavily__tavily_searchUse for:
- Keyword-based searches across the web
- Finding relevant pages and content
- Quick answer gathering
- Multiple result discovery
Best for: Initial research, finding sources, broad queries
适用场景:
- 基于关键词的全网搜索
- 查找相关页面与内容
- 快速收集答案
- 发现多个搜索结果
最佳用途:初步调研、查找信息来源、宽泛类查询
Tavily Extract (mcp__tavily__tavily-extract
)
mcp__tavily__tavily-extractTavily Extract (mcp__tavily__tavily-extract
)
mcp__tavily__tavily-extractUse for:
- Getting detailed content from specific URLs
- Deep analysis of page content
- Structured data extraction
- Following up on search results
Best for: In-depth analysis, specific URL content, detailed information
适用场景:
- 从特定URL获取详细内容
- 对页面内容进行深度分析
- 提取结构化数据
- 基于搜索结果进行后续深挖
最佳用途:深度分析、特定URL内容获取、详细信息提取
Hook Behavior
Hook 行为
tavily_extract_to_advanced.py当需要更高准确性时, Hook会自动将提取调用升级为高级模式。
tavily_extract_to_advanced.pyIntegration Pattern
集成模式
- Use for discovery phase
mcp__tavily__tavily_search - Analyze results to find relevant URLs
- Use for detailed content on specific URLs
mcp__tavily__tavily-extract - Process extracted content for user needs
- 使用完成发现阶段
mcp__tavily__tavily_search - 分析结果以找到相关URL
- 使用获取特定URL的详细内容
mcp__tavily__tavily-extract - 处理提取的内容以满足用户需求
Environment Variables
环境变量
Tavily MCP requires:
- - API key from Tavily (tvly-...)
TAVILY_API_KEY
Configure in shell before using the plugin.
Tavily MCP需要配置以下环境变量:
- - 来自Tavily的API密钥(格式为tvly-...)
TAVILY_API_KEY
在使用该插件前,请在Shell中完成配置。
Cost Considerations
成本考量
- Search is cheaper than extract
- Use search to filter relevant URLs first
- Only extract URLs that are likely relevant
- Cache results when possible
- 搜索的成本低于提取
- 先使用搜索筛选出相关URL
- 仅对可能相关的URL执行提取操作
- 尽可能缓存结果