fgui_create_branch
Create a branch and branch roots for every package using the native project API, with immediate and irreversible on-disk changes; optionally switch to the new branch and save open documents first.
Instructions
创建分支并为每个包建立分支根;走工程原生 API,立即落盘且不可撤销。
switch_to=True 创建后切换活跃分支;有未保存文档时需同时 save_open_documents=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": {
"name": "<name>"
},
"name": "fgui_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| verify | No | ||
| switch_to | No | ||
| save_open_documents | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||