Files
dingtalk-workspace-cli/internal/cli/schema_agent_metadata/devdoc.json
T
玉澜 cb4d1c215c feat(schema): generate catalog from live Cobra tree without fallback
Stop registering runtime catalog fallback commands and make command-surface generation use the real Cobra tree directly. Regenerate schema surface, agent metadata and catalog from executable commands (20 products / 537 tools), add runtime-surface completeness hints, and update catalog gates/tests to use dynamic counts instead of old 504/21/461 constants.

This makes schema describe the actual executable CLI surface; drift/catalog gates and go test ./internal/cli ./internal/app ./internal/generator/... pass.
2026-07-11 16:07:23 +08:00

44 lines
1.8 KiB
JSON

{
"product_id": "devdoc",
"tools": {
"devdoc article search": {
"agent_summary": "按关键词搜索 open.dingtalk.com 开放平台文档",
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
"use_when": [
"命中结果多时翻页",
"开发文档/API 文档/接口文档",
"开发者问\"OAuth2 怎么接",
"查错误码 / 字段含义"
],
"avoid_when": [
"要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest",
"要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search",
"要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform"
],
"effect": "read",
"effect_source": "command-verb",
"risk": "low",
"confirmation": "not_required",
"idempotency": "idempotent",
"examples": [
"dws devdoc article search --query \"OAuth2 接入\"",
"dws devdoc article search --query \"消息卡片\" --page 2 --size 5"
],
"source_refs": [
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.devdoc.prod.json#devdoc.search_open_platform_docs",
"skills/mono/references/products/devdoc.md",
"skills/mono/references/products/simple.md",
"skills/mono/schema-hints/imported/wukong.json",
"skills/mono/schema-hints/selection-review.json",
"skills/mono/schema-hints/sibling-disambiguation.json"
],
"interface_ref": {
"product_id": "devdoc",
"rpc_name": "search_open_platform_docs"
},
"interface_mode": "mcp",
"availability": "available"
}
}
}