Loading...
Loading...
使用 MiniMax MCP 进行网络搜索。触发条件:(1) 用户要求进行网络搜索、在线搜索、查找信息 (2) 需要查询最新资讯、新闻、资料 (3) 使用 MiniMax 的 web_search 功能
npx skill4agent add thincher/awsome_skills minimax-web-searchwhich uvxcurl -LsSf https://astral.sh/uv/install.sh | shexport UV_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
curl -LsSf https://astral.sh/uv/install.sh | shexport UV_INDEX_URL="https://mirrors.aliyun.com/pypi/simple/"
curl -LsSf https://astral.sh/uv/install.sh | shuvx minimax-coding-plan-mcp --helpuvx install minimax-coding-plan-mcpexport UV_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
uvx install minimax-coding-plan-mcpexport UV_INDEX_URL="https://mirrors.aliyun.com/pypi/simple/"
uvx install minimax-coding-plan-mcpcat ~/.openclaw/config/minimax.json 2>/dev/null | python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('api_key', ''))"mkdir -p ~/.openclaw/config
cat > ~/.openclaw/config/minimax.json << EOF
{
"api_key": "API密钥",
"output_path": "~/.openclaw/workspace/minimax-output"
}
EOFpython3 {curDir}/scripts/web_search.py "<搜索查询>"# 搜索今日新闻
python3 {curDir}/scripts/web_search.py "今天的热点新闻"| 参数 | 说明 | 类型 |
|---|---|---|
| query | 搜索查询字符串 | string (必填) |
{curDir}/scripts/web_search.pyMINIMAX_API_KEY~/.openclaw/config/minimax.jsonweb_search