minimax-web-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MiniMax Web Search Skill

MiniMax Web Search Skill

Use this skill when you need to find current, real-time, or authoritative information that may have changed since my knowledge cutoff.
当你需要查找在我的知识截止日期之后可能发生变化的最新、实时或权威信息时,请使用本Skill。

How to Use

如何使用

Call the
web_search
tool directly with a query:
web_search({ query: "your search query" })
直接调用
web_search
工具并传入查询词:
web_search({ query: "your search query" })

When to Use

适用场景

Use
web_search
when:
  • Current events: News, recent developments, latest releases
  • Fact verification: Checking if information is still accurate
  • Technical updates: New versions, patches, breaking changes
  • Dynamic content: Prices, availability, schedules
  • Authoritative sources: Official documentation, API references
符合以下情况时使用
web_search
  • 时事:新闻、最新动态、最新发布
  • 事实核验:检查信息是否仍然准确
  • 技术更新:新版本、补丁、破坏性变更
  • 动态内容:价格、库存、日程安排
  • 权威来源:官方文档、API参考

When NOT to Use

不适用场景

Do NOT use
web_search
when:
  • General knowledge I likely know (historical facts, basic concepts)
  • Coding help for common patterns (unless asking about latest practices)
  • Opinion-based questions without specific recent information needs
  • Files already in context or accessible via
    read
    tool
符合以下情况时请勿使用
web_search
  • 我大概率已知的常识类内容(历史事实、基础概念)
  • 通用模式的编码帮助(除非询问的是最新实践)
  • 没有特定最新信息需求的观点类问题
  • 已在上下文中的文件或可通过
    read
    工具访问的内容

Usage

使用示例

web_search({
  query: "your search query here"
})
web_search({
  query: "your search query here"
})

API Details

API详情

Endpoint:
POST {api_host}/v1/coding_plan/search
Request Body:
json
{
  "q": "your search query"
}
Response Format:
json
{
  "organic": [
    {
      "title": "Result Title",
      "link": "https://example.com",
      "snippet": "Brief description...",
      "date": "2025-01-15"
    }
  ],
  "related_searches": [
    {"query": "related query 1"},
    {"query": "related query 2"}
  ],
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}
接口地址
POST {api_host}/v1/coding_plan/search
请求体:
json
{
  "q": "your search query"
}
响应格式:
json
{
  "organic": [
    {
      "title": "Result Title",
      "link": "https://example.com",
      "snippet": "Brief description...",
      "date": "2025-01-15"
    }
  ],
  "related_searches": [
    {"query": "related query 1"},
    {"query": "related query 2"}
  ],
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}

Tips for Better Results

优化搜索结果的技巧

  1. Be specific: "TypeScript 5.4 new features" vs "TypeScript updates"
  2. Include context: "React 19 server components vs client components"
  3. Use recent keywords: "2024" or "2025" when timing matters
  4. Target authoritative sources: Include product names, official sites
  5. Use 3-5 keywords for optimal results
  1. 查询要具体:比如用"TypeScript 5.4 new features"而不是"TypeScript updates"
  2. 包含上下文:比如"React 19 server components vs client components"
  3. 加入时间关键词:当时间很重要时加上"2024"或"2025"
  4. 瞄准权威来源:包含产品名、官方站点
  5. 使用3-5个关键词以获得最佳结果

Examples

示例

Good Queries

优质查询示例

  • "Node.js 22 new features"
  • "Claude Code vs pi coding agent 2025"
  • "React 19 release date official"
  • "Docker desktop alternatives 2024"
  • "TypeScript 5.4 generics tutorial"
  • "Node.js 22 new features"
  • "Claude Code vs pi coding agent 2025"
  • "React 19 release date official"
  • "Docker desktop alternatives 2024"
  • "TypeScript 5.4 generics tutorial"

Poor Queries

反面查询示例

  • "how to use TypeScript" (too general)
  • "is Python popular" (opinion, not time-sensitive)
  • "help me debug my code" (not a search task)
  • "best programming language" (opinion-based)
  • "how to use TypeScript"(过于宽泛)
  • "is Python popular"(观点类,无时效性要求)
  • "help me debug my code"(不属于搜索任务)
  • "best programming language"(观点类问题)

Response Format

返回结果说明

Results include:
  • Titles and URLs for each result
  • Snippets with relevant context
  • Dates when available
  • Related searches for follow-up queries
You can use the suggestions to refine your search or ask the user which direction they'd like to explore.
结果包含:
  • 每条结果的标题URL
  • 包含相关上下文的摘要
  • 存在时会提供日期
  • 用于后续查询的相关搜索推荐
你可以使用这些建议优化你的搜索,或者询问用户想要探索的方向。

Error Handling

错误处理

  • Status code 1004: Authentication error - check API key and region
  • Status code 2038: Real-name verification required
  • Other errors: Check Trace-Id in error message for support
  • 状态码1004:认证错误 - 检查API密钥和区域
  • 状态码2038:需要完成实名认证
  • 其他错误:检查错误信息中的Trace-Id以获取支持