fgui_switch_branch
Switches the active FairyGUI editor branch; pass an empty name to return to trunk. Use it to set branch context before addressing writes by branch.
Instructions
切换活跃分支;name 传空字符串切回主干。
只改变编辑器分支上下文。真机 6.1.4 上文档保存与资源创建不会自动改道,Bridge 的写操作按 branch 参数或活跃分支显式寻址。
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_switch_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| save_open_documents | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||