检索鸿蒙开发能力
capability_searchSearch a curated capability registry to find the right HarmonyOS development capability for build, run, log, or doc tasks. Returns usage instructions with parameters and examples.
Instructions
使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。RAG 式检索精选能力注册表。任何 HarmonyOS 开发任务(构建、运行、日志、文档、技能…)都应先用它找到合适的能力,返回的能力卡含完整用法教学(参数/示例/避坑),随后用 capability_run 执行。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "capability_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数 | |
| query | Yes | 自然语言查询,如"打包 release 产物"、"看崩溃日志"、"创建鸿蒙工程" | |
| category | No | 按分类筛选 |