Agent skill

tavily-search

使用Tavily API进行网络搜索,获取实时信息、回答问题或研究主题

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/ck991357/tavily-search

SKILL.md

工具调用示例(Tavily Search)

当您决定调用 tavily_search 工具时,您的响应应该是一个包含 tool_name 和 parameters 字段的 JSON 对象。parameters 字段的值应是工具所需的参数对象。

✅ 正确示例

parameters 字段内容:

json
{"query": "latest AI news"}

完整工具调用响应示例:

json
{"tool_name": "tavily_search", "parameters": {"query": "latest AI news"}}

❌ 错误示例 (请避免以下常见错误)

  • 在 JSON 中嵌入 Markdown 分隔符:

    json
    "```json\n{\"query\": \"latest AI news\"}\n```"
    

    (Qwen 模型会将此作为 JSON 字符串的一部分,导致解析失败)

  • 参数名错误:

    json
    {"q": "latest AI news"}
    

    (应为 "query" 而非 "q")

  • 参数值错误:

    json
    {"query": 123}
    

    (query 参数值应为字符串,而不是数字)

关键指令

  1. 查询构建: 查询应该具体且相关
  2. 实时性: 适用于需要最新信息的问题
  3. 验证: 可用于验证其他信息来源

使用场景

  1. 获取实时新闻和信息
  2. 回答需要最新数据的问题
  3. 研究特定主题的背景信息
  4. 验证事实和数据的准确性

最佳实践

  • 查询应该具体且相关
  • 对于复杂问题,可以分解为多个搜索查询
  • 结合搜索结果进行综合分析
  • 优先使用英文关键词获取更准确的结果

示例查询

  • "2024年人工智能最新发展"
  • "OpenAI最新模型发布信息"
  • "比特币当前价格和趋势"
  • "Python 3.12新特性详解"

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results