cb_diff
Compare conversation branch rules against its parent or main, writing differences to DIFF.md without modifying main.
Instructions
生成分支 PROMPT 与父版本(或主线)的规则差异(写入分支 DIFF.md,不改主线)
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>"
},
"name": "cb_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 实验分支名(只能用小写字母、数字、连字符;main 是保留名) | |
| root | Yes | Conversation Branch 工作区根目录 | |
| against | No | 改和指定分支比 | |
| against_main | No | 改和主线比,而不是和创建时的父版本比 |