cb_rollback
Roll back the mainline conversation to an archived version using a version number or archive directory name, requiring explicit user approval.
Instructions
把主线回滚到某个归档版本:ref 可以是版本号或 archive/ 下的目录名(必须由用户明确批准)
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": {
"root": "<root>",
"ref": "<ref>"
},
"name": "cb_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | 目标版本号(如 1)或 archive/ 下的归档目录名 | |
| note | No | 回滚理由,写入主线 CHANGELOG.md | |
| root | Yes | Conversation Branch 工作区根目录 |