fgui_open_document
Opens a FairyGUI component document by package and item name for read-only inspection, optionally targeting a branch.
Instructions
按包名和资源名打开 FairyGUI 组件文档。
省略 branch 时跟随当前活跃分支,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": {
"package_name": "<package_name>",
"item_name": "<item_name>"
},
"name": "fgui_open_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| item_name | Yes | ||
| package_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||