cb_branch
Creates an experimental branch for parallel A/B testing by copying inputs from the current HEAD or another branch; optionally writes the experiment purpose to NOTES.md.
Instructions
创建实验分支,默认复制同源 inputs
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": "<name>"
},
"name": "cb_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 从哪个分支复制,默认当前 HEAD | |
| name | Yes | 实验分支名(只能用小写字母、数字、连字符;main 是保留名) | |
| root | Yes | Conversation Branch 工作区根目录 | |
| purpose | No | 实验目的/假设,写入 NOTES.md | |
| no_copy_inputs | No | 不复制 inputs(默认会复制) |