Files
dingtalk-workspace-cli/internal/cli/schema_agent_metadata/ding.json
T
玉澜 cf8cf95087 feat(schema): add sibling-command disambiguation to avoid_when
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.
2026-07-11 14:02:05 +08:00

78 lines
3.0 KiB
JSON

{
"product_id": "ding",
"tools": {
"ding message recall": {
"agent_summary": "撤回 DING 消息",
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
"use_when": [
"撤回 DING",
"撤回DING;撤回 DING 消息",
"机器人身份: 撤回"
],
"avoid_when": [
"要“发送 DING 消息(应用内 / 短信 / 电话)”请改用 dws ding message send"
],
"effect": "destructive",
"effect_source": "skill-explicit",
"risk": "high",
"confirmation": "user_required",
"idempotency": "unknown",
"examples": [
"dws ding message recall --robot-code \u003cROBOT_CODE\u003e --id \u003cOPEN_DING_ID\u003e",
"dws ding message recall --robot-code \u003cROBOT_CODE\u003e --id \u003cOPEN_DING_ID\u003e --format json"
],
"source_refs": [
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.ding.prod.json#ding.recall_ding_message",
"skills/mono/SKILL.md",
"skills/mono/references/intent-guide.md",
"skills/mono/references/products/ding.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": "ding",
"rpc_name": "recall_ding_message"
},
"interface_mode": "mcp",
"availability": "available"
},
"ding message send": {
"agent_summary": "发送 DING 消息(应用内 / 短信 / 电话)",
"agent_summary_source": "dws-wukong-envelope@4574f7022c32",
"use_when": [
"DING 一下/紧急通知/电话提醒",
"发DING/DING通知;发送 DING 消息",
"机器人身份: 应用内 DING (免费)",
"机器人身份: 电话 DING (紧急, 有成本!)"
],
"avoid_when": [
"要“撤回 DING 消息”请改用 dws ding message recall"
],
"effect": "write",
"effect_source": "command-verb",
"risk": "medium",
"confirmation": "not_required",
"idempotency": "unknown",
"examples": [
"dws ding message send --robot-code \u003cROBOT_CODE\u003e --users \u003cUSER_ID_1\u003e,\u003cUSER_ID_2\u003e --content \"请查看\"",
"dws ding message send --robot-code \u003cROBOT_CODE\u003e --type app --users userId1,userId2 --content \"请查看\" --format json"
],
"source_refs": [
"dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.ding.prod.json#ding.send_ding_message",
"skills/mono/references/intent-guide.md",
"skills/mono/references/products/ding.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": "ding",
"rpc_name": "send_ding_message"
},
"interface_mode": "mcp",
"availability": "available"
}
}
}