Install
openclaw skills install mimo-web-search基于小米 MiMo 模型提供实时联网搜索,支持最新信息查询与资料核对,需配置 API Key 并付费使用。
openclaw skills install mimo-web-search使用小米 MiMo 模型的联网搜索功能进行实时信息搜索。
exec: 调用 MiMo 联网搜索 APIMIMO_API_KEY 环境变量# 在 OpenClaw 配置文件中添加
MIMO_API_KEY=sk-your-api-key-here
curl -X POST "https://api.xiaomimimo.com/v1/chat/completions" \
-H "api-key: $MIMO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mimo-v2-flash",
"messages": [
{
"role": "user",
"content": "你的搜索查询内容"
}
],
"tools": [
{
"type": "web_search",
"max_keyword": 3,
"force_search": true,
"limit": 1
}
],
"max_completion_tokens": 1024,
"temperature": 1.0,
"top_p": 0.95,
"stream": false,
"thinking": {
"type": "disabled"
}
}'
// 使用 exec 工具调用 MiMo 联网搜索
const command = `curl -X POST "https://api.xiaomimimo.com/v1/chat/completions" \
-H "api-key: $MIMO_API_KEY" \
-H "Content-Type: application/json" \
-d '${JSON.stringify({
model: "mimo-v2-flash",
messages: [{ role: "user", content: query }],
tools: [{ type: "web_search", max_keyword: 3, force_search: true, limit: 1 }],
max_completion_tokens: 1024,
temperature: 1.0,
top_p: 0.95,
stream: false,
thinking: { type: "disabled" }
})}'`;
exec(command);
const query = "MiMo-V2-Flash 的基准测试结果是什么?";
// 调用 API 获取搜索结果
const query = "2026 年 AI 大模型最新进展";
// 调用 API 获取搜索结果