360 Secure SkillHub
360 安全技能中心

秘塔搜索

该 Skill 通过 Python 脚本调用 Metaso AI 搜索 API,接收 JSON 查询参数(关键词、检索范围、结果数量、分页及摘要等选项),返回包含标题、链接、摘要、评分与日期的结构化搜索结果,可选返回 AI 总结和原始内容,需自行配置 API 密钥。

square123
square123
热度 48.57
最近更新 2026-05-11 17:35:03
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add metaso-search-skill
Metadata
name
metaso-search
description
Search the web using Metaso AI Search API. Use for live information, documentation, or research topics.
metadata
{"openclaw":{"emoji":"🔍","requires":{"bins":["python"],"env":["METASO_API_KEY"]},"primaryEnv":"METASO_API_KEY"}}

Metaso Search

Search the web via Metaso AI Search API.

Usage

python skills/metaso-search/scripts/search.py '<JSON>'

Request Parameters

Param Type Required Default Description
q str yes - Search query
scope str no webpage Search scope: webpage, news, paper, etc.
size int no 10 Number of results (1-50)
page int no 1 Page number
conciseSnippet bool no false Return concise snippet
includeSummary bool no false Include AI summary
includeRawContent bool no false Fetch raw content from sources

Examples

# Basic search
python scripts/search.py '{"q":"OpenClaw AI"}'

# With options
python scripts/search.py '{
  "q": "人工智能最新进展",
  "size": 5,
  "includeSummary": true
}'

API Reference

Request Example

curl --location 'https://metaso.cn/api/v1/search' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
  "q": "搜索关键词",
  "scope": "webpage",
  "size": 10,
  "includeSummary": false,
  "includeRawContent": false,
  "conciseSnippet": false
}'

Response Example

{
  "credits": 3,
  "searchParameters": {
    "q": "搜索关键词",
    "scope": "webpage",
    "size": 10
  },
  "webpages": [
    {
      "title": "标题",
      "link": "https://example.com",
      "snippet": "摘要内容",
      "score": "high",
      "date": "2026-03-22"
    }
  ],
  "total": 25
}

Current Status

✅ Ready to use