promote_ab
Promote a candidate agent definition to current, overwriting the existing version. Requires explicit human confirmation to execute this destructive change.
Instructions
晋升 candidate 为 current。🔴 破坏性,必须 human_confirmed:true。
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": {
"current": "<current>",
"candidate": "<candidate>"
},
"name": "promote_ab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | 决策备注(写入 decision-log,如审批人/理由) | |
| current | Yes | 当前版本 Agent 定义路径(晋升目标——被覆写方) | |
| candidate | Yes | 候选版本 Agent 定义路径(晋升来源) | |
| human_confirmed | No | 🔴 人工确认:false/缺省=挂起等人审(默认);true=执行晋升。破坏性操作不允许自动执行 |