Add skills/mono/schema-hints/sibling-disambiguation.json: for each multi-segment command sub-group (aitable view update, sheet range, chat message, ...), append explicit cross-referencing avoid_when entries pointing agents to the correct sibling command. Regenerate embedded agent metadata + catalog: 395/504 tools now carry sibling disambiguation, improving tool-selection beyond template-only avoid_when. drift/catalog gates and go test ./internal/cli pass.
247 lines
9.8 KiB
JSON
247 lines
9.8 KiB
JSON
{
|
|
"product_id": "report",
|
|
"tools": {
|
|
"report entry get": {
|
|
"agent_summary": "读取单份日报正文(含字段明细 + 钉钉跳转链接)",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"2c. 仅当 submit 返回中缺少 dingtalkOpenUrl 时,手动补取 dingtalk:// 跳转链接",
|
|
"4. 查看日报详情(正文/字段明细)",
|
|
"从列表结果提取 reportId 后,再查正文",
|
|
"先通过 report inbox list / outbox list / entry submit 取得 reportId,再查正文与跳转链接",
|
|
"已知 reportId",
|
|
"我发过 / 我创建的日志",
|
|
"我收到的日志"
|
|
],
|
|
"avoid_when": [
|
|
"要“提交一份新日报(按模版)”请改用 dws report entry submit",
|
|
"要“读取单份日报的已读统计”请改用 dws report entry stats"
|
|
],
|
|
"effect": "read",
|
|
"effect_source": "command-verb",
|
|
"risk": "low",
|
|
"confirmation": "not_required",
|
|
"idempotency": "idempotent",
|
|
"examples": [
|
|
"dws report entry get --report-id \u003creportId\u003e --format json",
|
|
"dws report entry get --report-id \u003creportId\u003e"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.get_report_entry_details",
|
|
"skills/mono/references/products/report.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": "report",
|
|
"rpc_name": "get_report_entry_details"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
},
|
|
"report entry stats": {
|
|
"agent_summary": "读取单份日报的已读统计",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"5. 查看日报已读统计",
|
|
"日志统计/已读统计"
|
|
],
|
|
"avoid_when": [
|
|
"要“提交一份新日报(按模版)”请改用 dws report entry submit",
|
|
"要“读取单份日报正文(含字段明细 + 钉钉跳转链接)”请改用 dws report entry get"
|
|
],
|
|
"effect": "read",
|
|
"effect_source": "command-verb",
|
|
"risk": "low",
|
|
"confirmation": "not_required",
|
|
"idempotency": "idempotent",
|
|
"examples": [
|
|
"dws report entry stats --report-id \u003creportId\u003e",
|
|
"dws report entry stats --report-id \u003creportId\u003e --format json"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.get_report_statistics_by_id",
|
|
"skills/mono/references/products/report.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": "report",
|
|
"rpc_name": "get_report_statistics_by_id"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
},
|
|
"report entry submit": {
|
|
"agent_summary": "提交一份新日报(按模版)",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"2b. 提交日志(从步骤 1/2 取 templateId 与 contents 字段)— 推荐 --contents-file 传入避免 shell 引号",
|
|
"内联(短内容)",
|
|
"推荐:长内容走文件,避免 shell 引号问题"
|
|
],
|
|
"avoid_when": [
|
|
"要“读取单份日报正文(含字段明细 + 钉钉跳转链接)”请改用 dws report entry get",
|
|
"要“读取单份日报的已读统计”请改用 dws report entry stats"
|
|
],
|
|
"effect": "write",
|
|
"effect_source": "command-verb",
|
|
"risk": "medium",
|
|
"confirmation": "not_required",
|
|
"idempotency": "unknown",
|
|
"examples": [
|
|
"dws report entry submit --template-id \u003ctemplateId\u003e --contents-file ./report.json --format json",
|
|
"dws report entry submit --template-id \u003ctemplateId\u003e --contents '[{\"key\":\"今日完成\",\"sort\":\"0\",\"content\":\"完成了需求评审\",\"contentType\":\"markdown\",\"type\":\"1\"}]' --format json"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.create_report",
|
|
"skills/mono/references/products/report.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": "report",
|
|
"rpc_name": "create_report"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
},
|
|
"report inbox list": {
|
|
"agent_summary": "列出我收到的日报",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"3. 查看收到的日报列表 — 提取 reportId",
|
|
"别人发给我的日志/我收到的日志",
|
|
"我收到的日志",
|
|
"查日志/看日报/看正文"
|
|
],
|
|
"avoid_when": [
|
|
"需要创建、修改或删除数据时不要使用;本命令只用于“列出我收到的日报”"
|
|
],
|
|
"effect": "read",
|
|
"effect_source": "command-verb",
|
|
"risk": "low",
|
|
"confirmation": "not_required",
|
|
"idempotency": "idempotent",
|
|
"examples": [
|
|
"dws report inbox list --start-date 2026-05-04 --end-date 2026-05-11 --format json",
|
|
"dws report inbox list --date 2026-05-11 --format json"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.get_received_report_list",
|
|
"skills/mono/references/products/report.md",
|
|
"skills/mono/schema-hints/imported/wukong.json",
|
|
"skills/mono/schema-hints/selection-review.json"
|
|
],
|
|
"interface_ref": {
|
|
"product_id": "report",
|
|
"rpc_name": "get_received_report_list"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
},
|
|
"report outbox list": {
|
|
"agent_summary": "列出我发出的日报",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"6. 查看我发出的日报列表",
|
|
"我发过 / 我创建的日志",
|
|
"我发过的日志/我创建的日志"
|
|
],
|
|
"avoid_when": [
|
|
"需要创建、修改或删除数据时不要使用;本命令只用于“列出我发出的日报”"
|
|
],
|
|
"effect": "read",
|
|
"effect_source": "command-verb",
|
|
"risk": "low",
|
|
"confirmation": "not_required",
|
|
"idempotency": "idempotent",
|
|
"examples": [
|
|
"dws report outbox list --cursor 0 --size 20 --format json",
|
|
"dws report outbox list --cursor 0 --size 20"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.get_send_report_list",
|
|
"skills/mono/references/products/report.md",
|
|
"skills/mono/schema-hints/imported/wukong.json",
|
|
"skills/mono/schema-hints/selection-review.json"
|
|
],
|
|
"interface_ref": {
|
|
"product_id": "report",
|
|
"rpc_name": "get_send_report_list"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
},
|
|
"report template get": {
|
|
"agent_summary": "读取单个日志模版的字段定义",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"2. 按名称读取模版字段定义"
|
|
],
|
|
"avoid_when": [
|
|
"要“获取当前用户可用的日志模版列表”请改用 dws report template list"
|
|
],
|
|
"effect": "read",
|
|
"effect_source": "command-verb",
|
|
"risk": "low",
|
|
"confirmation": "not_required",
|
|
"idempotency": "idempotent",
|
|
"examples": [
|
|
"dws report template get --name \u003ctemplateName\u003e",
|
|
"dws report template get --name \"日报\" --format json"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.get_template_details_by_name",
|
|
"skills/mono/references/products/report.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": "report",
|
|
"rpc_name": "get_template_details_by_name"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
},
|
|
"report template list": {
|
|
"agent_summary": "获取当前用户可用的日志模版列表",
|
|
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
|
|
"use_when": [
|
|
"1. 获取当前用户可用的日志模版",
|
|
"写日报/提交周报/发日志/填日志",
|
|
"有什么日志模版"
|
|
],
|
|
"avoid_when": [
|
|
"要“读取单个日志模版的字段定义”请改用 dws report template get"
|
|
],
|
|
"effect": "read",
|
|
"effect_source": "command-verb",
|
|
"risk": "low",
|
|
"confirmation": "not_required",
|
|
"idempotency": "idempotent",
|
|
"examples": [
|
|
"dws report template list",
|
|
"dws report template list --format json"
|
|
],
|
|
"source_refs": [
|
|
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.report.prod.json#report.get_available_report_templates",
|
|
"skills/mono/references/products/report.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": "report",
|
|
"rpc_name": "get_available_report_templates"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
}
|
|
}
|
|
}
|